PackageDescription: OSXExternalProcessFix
OSX External Process FixLast published: March 16, 2011 by 'shaffer'
Defines 0 Classes
Extends 1 Classes
It appears as though the OSX VM doesn't always signal the process status change semaphore when children exit. This can be demonstated pretty easily but evaluating the following block:
100 timesRepeat:
[t := ExternalProcess new.
t cshOne: 'ls'.
t wait].
This will block in one of the waits. This package is a workaround for this problem. It creates a background process that periodically signals the status change semaphore.