Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

How to make thread-save data on C API

by Tormalon (Initiate)
on Sep 20, 2013 at 12:05 UTC ( #1055007=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    SV*
    myfunc()
    ...
            RETVAL = newRV_noinc((SV*)hash);
        OUTPUT:
            RETVAL
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    my $d : shared;
    
    $d = mymodule::myfunc();
    
  3. or download this
    Invalid value for shared scalar at ./a.pl line 15.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1055007]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2016-02-07 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (241 votes), past polls