#testProcessStateTests leaves unterminated processes behind

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

#testProcessStateTests leaves unterminated processes behind

Jaromir Matas
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

^[^ Jaromir