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

process: Name all processes started by osmo-core

This commit is contained in:
Holger Hans Peter Freyther 2012-08-08 18:02:37 +02:00
parent 2390e42814
commit 2b81cc18c6
2 changed files with 8 additions and 2 deletions

View File

@ -38,7 +38,12 @@ Object subclass: Dispatcher [
<category: 'private'>
quit := false.
queue := SharedQueue new.
dispatch := [[quit] whileFalse: [self dispatch]] forkAt: Processor highIOPriority.
dispatch := [
Processor activeProcess name: 'OsmoDispatcher'.
[quit]
whileFalse: [
self dispatch]
] forkAt: Processor highIOPriority.
]
dispatchBlock: aBlock [

View File

@ -99,7 +99,8 @@ bit difficult to do this race free.'>
queue := SortedCollection sortBlock: [:a :b | a timeout < b timeout].
sem := Semaphore forMutualExclusion.
quit := false.
loop := [self runTimers] fork.
loop := [Processor activeProcess name: 'Osmo Timers'.
self runTimers] fork.
]
scheduleInSeconds: aDelay block: aBlock [