[dmd-concurrency] Shutdown protocol

Sean Kelly sean at invisibleduck.org
Thu Jan 21 11:59:33 PST 2010


On Jan 21, 2010, at 9:40 AM, Sean Kelly wrote:
> 
> All this talk makes me think of a funny feature Apple added to Mac OS X 10.6 (Snow Leopard): Sudden Termination. When you shutdown the computer, the OS literally kills every process having the sudden termination flag set. Applications are free to set and unset this flag as they run. Typically, an application with no document open will set its sudden termination flag. But the flag is not set by default so applications can do proper cleanup.

Funny, that sounds a lot like setting the isDaemon flag on threads :-)


More information about the dmd-concurrency mailing list