Commits

Show all
Author Commit Message Labels Comments Date
Stefan Scherfke
Completed the API reference for the modules that we already implemented.
Bookmarks
simpy3
Stefan Scherfke
The docs are now compileable. Added the API ref for the "simpy" module.
Stefan Scherfke
Updated the README.
Stefan Scherfke
Added tests for passing a value to hold() and resume().
Stefan Scherfke
Fixed a few problems with Python 3.3 and PyPy.
Stefan Scherfke
Implemented Store. Had to add optional parameter "value" to hold() and resume().
Stefan Scherfke
The first test case for Container passes. Also added a peek() method to the queues that returns (but doesn’t remove) the next element.
Stefan Scherfke
Started to implement Container. Changed Resource’s "context" parameter to "sim", because it’s easier for the users to type.
Stefan Scherfke
Added documentation to Resource and added stubs for Container and Store.
Stefan Scherfke
Added FIFO, LIFO and Priority queues.
Stefan Scherfke
Renamed resource.py to resources.py
luensdorf
Drop visualization as it doesn't work with the latest changes anymore.
luensdorf
Simplify both interrupt_on and interruption of observers.
Stefan Scherfke
Started with a draft for a new documentation structure.
Stefan Scherfke
Implemented the helper process to wait for all or any of multiple processes.
Stefan Scherfke
Send error for wrong yield values back into the process to allow easier debugging.
Stefan Scherfke
Ignore coverage result files.
Stefan Scherfke
Fixed a test case.
Stefan Scherfke
Implemented the "at" and "delayed" helper functions.
Stefan Scherfke
Removed step_dt. It may not always behave as intended and the same behaviour can be achieved by multiple calls to simulate().
Stefan Scherfke
Added three test cases for step_dt and simulate.
Stefan Scherfke
Added two more tests and fixed a serious bug with "interrupt_on(proc)" if proc is already terminated.
Stefan Scherfke
Some refactoring. Also improved detection of non-generator functions in start().
Stefan Scherfke
Unified the resource tests.
Stefan Scherfke
Moved the remaining tests from test_simulation to the new modules and removed it. All non-resource tests are now passing (except for the expected fails).
Stefan Scherfke
Removed exception chaining. If a child really wants to send an exception to its parent, it now has to use "context.exit(exception)".
Stefan Scherfke
Process.is_termianted is now called Process.is_alive.
Stefan Scherfke
Added a module to test suspend/resume, moved a few tests around and created some new ones.
Stefan Scherfke
Added and changed a lot of stuff to improve interrupts and suspend/resume. Also added a "is_terminated" property to Process.
Stefan Scherfke
More clean-up, more comments. Still, everything is broken. :)
  1. Prev
  2. Next