Giter Site home page Giter Site logo

c--sim's People

Contributors

nmcl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

c--sim's Issues

Check tests

Some of the tests have various shell scripts within them. Document their use.

Check delete warning

Resource.cc: In static member function ‘static void Resource::operator delete(void_)’:
Resource.cc:103:17: warning: deleting ‘void_’ is undefined [enabled by default]
::delete [] memPtr;
Resource.cc: In static member function ‘static void Resource::operator delete(void_)’:
Resource.cc:103:17: warning: deleting ‘void_’ is undefined [enabled by default]
::delete [] memPtr;

OpenShift service

It should be possible to have a deployable service running that allows people to send simulations to be run. May make more sense for this to be JavaSim than C++SIM, but worth thinking about further anyway.

Simulation reset exception or status code needed?

In JavaSim a suspended process is informed that it has been “reset” by having the method it called to originally suspend itself (i.e., place itself on the scheduler queue) raise the RestartSimulation exception, which the object should catch. We don't have that in C++SIM.

TerminateTest core dumps

[mlittle@localhost Terminate]$ ./TerminateTest

Creating first process.
Activating first process.
Activating second process.

Creating third process.
Terminating second process.

Tester process holding.
Segmentation fault (core dumped)

Fix warnings when building on OS 10

For example, in Tests:

Compiling TestSemaphore.o
TestSemaphore.cc:63:5: warning: delete called on non-final 'ExponentialStream' that has virtual functions but non-virtual destructor
[-Wdelete-non-virtual-dtor]
delete InterArrivalTime;

Reduce the number of supported platforms

The older versions of C++SIM supported Windows, Solaris, HPUX, Linux etc. (no Mac OS). These days I'm only going to be able to support Linux and maybe Mac OS. Hopefully any community contributors would be able to do other platforms, but for now it makes sense to remove the other OS combinations because I simply cannot even check if the code would build, let alone run!

Issues misfiled during migration

Some C++SIM issues that were on Codehaus were migrated across as JavaSim issues and closed incorrectly. Check them out and move them/add them here.

Replace Boolean with bool

There was no bool type when C++SIM was first created. Time to upgrade. It will break backwards compatibility, but we're not checking for that these days anyway.

Remove Windows .cpp include files

Since we no longer support Windows, and the .cpp files were always an intermediate "hack", let's remove them for now. If Windows support is ever added back then do it properly.

Add Simulation class to mimic JavaSim?

In the most recent update to JavaSim we added a Simulation class to maintain simulation-specific methods and move them from the Scheduler class. This hasn't been reflected (yet) in C++SIM.

Ensure builds on Linux

It's been a year or so since it was last built on Linux. Need to make sure it still does!

Remove Resource.h

Not used correctly and easier to go back to plain C++ memory management at this stage.

LLVM?

Try building with LLVM on Linux?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.