On Wed, 10 Jan 2007 08:57:06 +0100, Steffen Mueller <[EMAIL PROTECTED]> wrote:
>Also related to pseudo-fork. Is it possible to somehow kill >pseudo-forked children without the risk to corrupt the interpreter? This >would allow us to get Test:HTTP::Server::Simple and many other modules >to work on win32 (albeit with some additional trickery). You can use the Perl kill() function to terminate a thread, but it has the same limitations as the alarm() function on Windows: it will not interrupt a blocking system call (e.g. a blocking socket read). The kill signal is essentially delivered by Perl's safe signal mechanism to the other thread. Cheers, -Jan
