in reply to Re: Perl threads test on Windows: how to close thread handles?
in thread Perl threads test on Windows: how to close thread handles?
# Loop through all the threads foreach $thr (threads->list) { $thr->yield; }
I don't get it. How will calling yield at any point in my test program cause the underlying Win32 thread handle to be closed?
To clarify, I think my test program above demonstrates a perl bug, but, being very new to threads, I need confirmation that I'm not being silly before perl-bugging it.
|
---|