[squeak-dev] The Inbox: Compiler-mt.456.mcz
Jaromir
m at jaromir.net
Tue Feb 2 22:13:18 UTC 2021
If you modify #priority behavior as per my previous message the
#valueUnpreemptively can be simplified:
valueUnpreemptively
| activeProcess oldPriority |
activeProcess := Processor activeProcess.
oldPriority := activeProcess priority.
activeProcess priority: Processor highestPriority.
^self ensure: [activeProcess priority: oldPriority].
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html
More information about the Squeak-dev
mailing list
|