Help for this page

Select Code to Download


  1. or download this
                    lock %{ $cnf{'lock'} };
    
  2. or download this
    # fix me, not work in win32, why?
    #$SIG{'INT'} = $SIG{'TERM'} = sub { lock %stat; $stat{'done'}++ };
    
  3. or download this
                # fix me, the thread blocks here, why?
                # if I lock %{ $cnf{'lock'} } untill close the $c, things 
    +will be OK,
                # but then we can't gain advantage of the multi-threads no
    +r the pre-threads
                # design.
                if ( my $r = $c->get_request() ) {