Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Hanging Threads

by GrandFather (Saint)
on Aug 18, 2007 at 05:38 UTC ( [id://633432] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    print "\n Thread $thr3 joined! \n";
    $thr4->join;
    print "\n Thread $thr4 joined! \n";
    
  2. or download this
    processing 10
    processing 2
    ...
    Attempt to free unreferenced scalar: SV 0x3d68e68, Perl interpreter: 0
    +x3d65314 at C:\Documents and Settings\Peter\My Documents\PerlScratch\
    +noname.pl line 25.
    
     Thread threads=SCALAR(0x201f80c) joined!