nmcl / c--sim Goto Github PK
View Code? Open in Web Editor NEWDiscrete event simulation in C++
License: Other
Discrete event simulation in C++
License: Other
Last generated on a Sparc!
May make sense to pull some of the text into the manual.
Blocks in Hold call. Investigate/
Some of the tests have various shell scripts within them. Document their use.
Should be in the top-level README.md
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;
As with JavaSim ...
Seems like it is no longer supported.
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.
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.
Same as we did for JavaSim.
Queue test references grind script.
In t.Await somewhere in Self()->Suspend().
[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)
They still refer to February 1995.
It has moved since last time the Tests were built.
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;
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!
In ClassLib/src
Maybe other examples exist.
trigger and isWaiting missing. Added them to the code section but need to add text.
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.
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.
Section 3 and 5 at least.
Pulled in from import from Codehaus
It's not a manual so could be confusing.
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.
Some updates to JavaSim apply equally here.
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.
It's been a year or so since it was last built on Linux. Need to make sure it still does!
Enables easier testing of some aspects of the system.
Not used correctly and easier to go back to plain C++ memory management at this stage.
Try building with LLVM on Linux?
main doesn't return an in.
Previous version(s) no longer available and would be way out of date anyway.
Maybe use bitbucket?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.