[squeak-dev] Re: The Trunk: Kernel-mt.1009.mcz
marcel.taeumel
Marcel.Taeumel at hpi.de
Tue Apr 5 16:27:28 UTC 2016
Hi Eliot,
with "Smalltalk processPreemptionYields == false", is there a Smalltalk way
to implement ProcessorScheduler >> #yield?
At the moment, it looks like this:
| semaphore |
<primitive: 167>
semaphore := Semaphore new.
[semaphore signal] fork.
semaphore wait.
And another question: How to "yield" a process (i.e. put back in line) that
is not currently running but runnable?
Best,
Marcel
--
View this message in context: http://forum.world.st/The-Trunk-Kernel-mt-1009-mcz-tp4887889p4888435.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|