Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Threads and fork and CLONE, oh my!

by xdg (Monsignor)
on Aug 12, 2005 at 01:24 UTC ( #483162=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    # A thread-safe inside-out object class
    package SafeObject;
    1; # package must return true
  2. or download this
    use strict;
    is( $safe_obj->name(), "Charlie", "main thread still has original name
    +" );
  3. or download this
    use strict;
    Test::More->builder->current_test( 6 );
    is( $obj->name(), "Charlie", "parent still has original name" );

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://483162]
Approved by itub
Front-paged by Old_Gray_Bear
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-11-26 18:16 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (705 votes), past polls