Commit graph

9 commits

Author SHA1 Message Date
fros4943 64293abe03 major update to cooja's event scheduler:
* all events must now be scheduled from the simulation thread
* added new methods for requesting simulation thread execution

this patch solves some race conditions introduced by the new mspsim execution scheduling, but affects many existing plugins and interfaces
2009-10-27 10:06:59 +00:00
fros4943 2bc52699c6 bugfix: removed-flag should become false when rescheduling unsorted event 2009-10-19 17:32:38 +00:00
fros4943 67bca87c1d bugfix: remove unsorted time event 2009-06-15 16:51:42 +00:00
fros4943 7c2e0a4b48 added method for peeking at first scheduled event 2009-05-26 13:36:36 +00:00
fros4943 547eadceb3 minor author name fix: strange names causes compiler warnings on some systems 2009-03-03 13:42:45 +00:00
fros4943 0f0aab0005 added support for removing events from queue outside simulation thread 2009-01-08 15:42:25 +00:00
fros4943 c4ba4b7008 thread-safe event scheduling 2008-12-08 13:07:06 +00:00
joxe 37b40f99c7 changed simulation time from int to long to support very long simulations 2008-12-04 14:03:41 +00:00
fros4943 bbeed74eda Cooja event queue. Ported from MSPSim 2008-10-28 12:52:24 +00:00