-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
threads not joinable issue #12133
Comments
From alexs@ecoscentric.comCreated by alexs@ecoscentric.comI have an old perl application (pre perl 5.005) which emulated foreach my $thr (threads->list(threads::joinable)) { The thread really believes it is joinable as well: Gives: log_debug(1,'reap_children: Waiting for thread '.$child->tid().' to join'); The trigger to this appears to be a pipe process, a bash script, started by my The proof of my pudding is that if I kill the bash script, I get: It seems to me that perl's thread support is getting in a muddle handling Unfortunately I have not been able to reproduce this issue with a simple I have unfortunately had to revert back to my own thread emulation FAOD, I am no NOOB and have been writing lightweighted thread As I have a workaround, I am not in any rush for a fix, especially since Perl Info
|
From @LeontOn Thu, May 24, 2012 at 2:12 PM, alexs@ecoscentric.com
In general, system(3) is not particularly thread safe (for both signal
That sounds like some weird race condition. Judging by the code of
Have your tried upgrading your version of threads.pm? It may or may Leon |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#113070 (status was 'open')
Searchable as RT113070$
The text was updated successfully, but these errors were encountered: