good I like to see you working on that. I should get some times over the week-end to publish coral 0.1 :) Stef On Jan 8, 2010, at 5:51 PM, Damien Pollet wrote:
Hi,
Chaff is a tiny class to intercept the SIGTERM signal and save the image http://www.squeaksource.com/Chaff.html
Several problems:
- OSProcess accessor forwardSigTern will only work once. Once the VM has registered a handler for a given signal, it can't clean it up or register another semaphore, until the image restarts.
- If I have a process waiting on the semaphore, but the image quits for a different reason, I guess when it restarts, the process will still be there but the semaphore will be invalid⦠what's a good way to handle that ?
- OSProcess does not seem to be able to register signal handlers at all on the Cocoa VM (5.2b9)
Cheers, -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project