Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-12-07 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (126 votes). Check out past polls.