in reply to join() in perl threads does not return
in thread join() in perl threads does not return
In the absence of code that demonstrates the problem, it is hard to move forward.
A simplistic test of the problem as described shows that the join works fine:
[0]{} Perl> print async{ `perl -e1`; return 'Completed'; }->join;; Completed [0]{} Perl>
The backticks ran in a void context, running an executable that produced no output; the thread ended returning the string 'Completed'; which was retrieved with join, and passed to print and displayed.
|
|---|