smalltalk
/
osmo-st-core
Archived
1
0
Fork 0
Commit Graph

6 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 22f6836925 timer: Try to avoid copying the entire timerlist all the timer
Make sure that we only remove from one process, this way we can
check if the list is empty without having a lock. The list is sorted
so even if we get interrupted between the [condition] whileFalse: [res]
and someone adds an older timer, it is okay to use this timer.
2011-07-06 16:56:09 +02:00
Holger Hans Peter Freyther 49c376dbf6 timer: Dispatch the whole timer in the main block. 2011-06-29 00:32:27 +02:00
Holger Hans Peter Freyther 3386942ce2 dispatcher: Introduce a dispatcher than can dispatch things...
When dispatching everything in the same context we avoid all kind
of issues with locking. If we use a truely multi threaded VM we could
probably use multiple dispatchers.
2011-06-28 19:50:31 +02:00
Holger Hans Peter Freyther 6595b815c9 timer: Fix the comments, try to be more clear about what happens 2011-06-28 11:54:27 +02:00
Holger Hans Peter Freyther 8fd1c00968 timer: Ignore already removed timers 2011-06-22 16:59:33 +02:00
Holger Hans Peter Freyther 4570878f9a timer: Add the initial version of the timer code
The code comes from the OsmoGSM repository but didn't have a
lot of history.
2011-06-22 15:21:09 +02:00