Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

XS/C, threads, and calling call_sv() with a code ref

by stevieb (Canon)
on Apr 25, 2018 at 19:16 UTC ( #1213554=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    void pin_mode (int pin, int mode){
        pinMode(pin, mode);
    }
    
  2. or download this
    running
    cref handler
    ...
    running
    dler
    Segmentation fault
    
  3. or download this
    $ gdb perl
    
    ...
    #1  0x000c0434 in Perl_runops_standard ()
    #2  0x000500a4 in perl_run ()
    #3  0x0002ab50 in main ()
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2019-09-21 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (273 votes). Check out past polls.

    Notices?