smalltalk
/
osmo-st-core
Archived
1
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
osmo-st-core/changes_for_pharo.st

31 lines
726 B
Smalltalk

TimerScheduler extend [
TimerScheduler class >> initialize [
<category: 'loading'>
^ self instance
]
TimerScheduler class >> startUp [
Smalltalk at: #OsmoTimeScheduler ifPresent: [
OsmoTimeScheduler reinitialize.
].
]
platformInit [
<category: 'creation'>
"Pharo requires us to do some post-processing"
Smalltalk addToStartUpList: self class.
]
reinitialize [
<category: 'creation'>
"(Delay forSeconds: 1) wait can get stuck in Pharo for-ever.. Change the approach"
lastDelay ifNotNil: [lastDelay signalWaitingProcess]
]
]
Dispatcher class extend [
initialize [
^ self instance
]
]