Jan. 8, 2010
4:51 p.m.
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