Friday, October 22, 2010

Spawn children and/or take other resources? Clean it all when out of scope!


http://gist.github.com/640264

Everything may go wrong in the real life of your multiprocess application.

Without ObjctSpace.define_finalizer you would end up with plenty of orphaned processes after any uncaught exception or any uncaught signal.

No comments:

Post a Comment