Help for this page

Select Code to Download


  1. or download this
    use Mutex;
    
    ...
    
    ...
    
  2. or download this
    my $state_mutex = Mutex->new( path => "/tmp/state.lock" );
    
    ...
        # then unlink or empty the state file.
    } );