[squeak-dev] #testProcessStateTests leaves unterminated processes behind

Jaromir Matas m at jaromir.net
Mon Apr 12 19:47:07 UTC 2021


ProcessTest>>#testProcessStateTests doesn't terminate processes it opened and
leaves lots of runnable and blocked processes behind (almost gave me a heart
attack when tested my #terminate fix).

Are they supposed to get GC'd somehow? I sent a simple cleanup suggestion to
the Inbox.
http://forum.world.st/The-Inbox-KernelTests-jar-397-mcz-td5128422.html

+ "Clean up: release all processes still waiting at the semaphore or in the
active priority queue."
+ Processor yield.
+ [semaphore isEmpty] whileFalse: [semaphore signal]





-----
^[^ Jaromir
--
Sent from: http://forum.world.st/Squeak-Dev-f45488.html


More information about the Squeak-dev mailing list