Help for this page

Select Code to Download


  1. or download this
    while( (scalar threads->list) > 0   ){
         print scalar threads->list,"\n"; 
    ...
            if( $thread->is_joinable ){ $thread->join;}
           }
      }
    
  2. or download this
    use threads ( 'exit' => 'threads_only');