Sune Kirkeby wrote:
I was having some trouble with the reloader being horribly broken for
me (leaving half-restarted applications), so I looked into it, and
found that half the threads spawned were immune to the os._exit(3) in
periodic_reloader.

So, here is a patch which replaces the os._exit(3), with a SIGHUP sent
to the parent-process; this works beautifully for me.

Did I use os._exit? No wonder it was quitting out of threads, os._exit is evil. But unreliable in its evilness I guess. Will these signals work on Windows? If not, does anyone know of an alternate way to kill a process on Windows?


--
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org


------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Webware-devel mailing list Webware-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to