Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: singleton lock not reliable

by cavac (Priest)
on Jun 25, 2021 at 12:20 UTC ( #11134272=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    use strict;
    ...
    sleep(int(rand(10) + 5));
    
    print "42\n";
    
  2. or download this
    #!/usr/bin/env perl
    
    use strict;
    ...
    
        sleep($sleeptime);
    }
    
  3. or download this
    Sleeping for 0.986798048019409
    Sleeping for 4.98646092414856
    Sleeping for 3.98296499252319
    ...
    Immediate restart
    Immediate restart
    Immediate restart
    
  4. or download this
    #!/usr/bin/env perl
    
    use strict;
    ...
    
        `$cmd`;
    }
    
  5. or download this
    Sleeping for 9
    Sleeping for 5
    Sleeping for 9
    Sleeping for 6
    Sleeping for 6
    Sleeping for 7
    
  6. or download this
    my $TAIoffset = -37;
    ...
    my $endtime = time + $TAIoffset;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134272]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2022-08-14 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?