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

14 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther ced5898a31 pharo: The TimerDispatcher needs more work on Pharo for image resume
In Pharo the Delay>>wait for one second will not expire anytime soon
in a new image. Use the depedency handling so we can terminate and
restart the loop.
2013-02-20 09:34:21 +01:00
Holger Hans Peter Freyther 9807973a46 dispatcher: Dispatch the blocks in a new process to avoid termination
Avoid the dispatcher process from being terminated. Dispatch the
block in a new context. This is easier than detecting the termination
and then respawn it.
2013-02-20 09:17:29 +01:00
Holger Hans Peter Freyther ff6db68e34 misc: Ignore the fileout.st generated by the convert target 2013-02-15 23:14:37 +01:00
Holger Hans Peter Freyther 01cfa6f4b8 pharo: Work on the automatic fileout to pharo
Remove the PackageLoader fileInPackage statement as it is conflicting
with the export as there is no PackageLoader in Pharo. Add a Makefile
to help with invoking the export and create a compat_for_pharo.st for
the methods not provided by Pharo. The testcase is working now.
2013-02-10 21:21:43 +01:00
Holger Hans Peter Freyther 35843c3654 misc: Modernize the category names to help with MontiCello grouping 2013-02-10 13:05:02 +01:00
Holger Hans Peter Freyther 2b81cc18c6 process: Name all processes started by osmo-core 2012-08-08 18:02:37 +02:00
Holger Hans Peter Freyther 2390e42814 core: Add proper categories to the class, call it OsmoCore 2011-09-27 16:09:34 +02:00
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 6f2c4e98c7 dispatcher: Run the dispatch queue with a higher priority
We want the dispatching to happen faster, change the priority
and see how things will turn out.
2011-07-06 09:58:13 +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