in reply to Printing to STDERR causes deadlocks.
After fixing the shebang line as needed, the results are mysterious.
It never seems to hang (after a dozen or so trials with and without TRACE=1). It seems to randomly alternate between two behaviors, regardless of TRACE value:
Name "CORE::GLOBAL::warn" used only once: possible typo at ./451692.pl + line 11. t-Locking t-Waiting t-Setting t-Signalling
Name "CORE::GLOBAL::warn" used only once: possible typo at ./451692.pl + line 11. m-locking m-waiting t-Locking t-Waiting t-Setting t-Signalling m-Copying m-undefing m-signalling m-processing
Since I'm not getting any deadlocks, I'm not sure I can answer your other questions.
|
|---|