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
> 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 / ianb@... / http://blog.ianbicking.org