Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 wandering the Monastery: (8)
As of 2015-07-03 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (55 votes), past polls