I'm surprised no-one has commented on this yet: are you really attempting to call perl code from an ISR (interrupt service routine)? Perl does allow "PERL_SIGNALS=unsafe", but generally, signal handling is deferred for good reasons.
What sort of code do you need to invoke from an interrupt handler? Can't you just use the regular dispatch via $SIG{USR1} or something?
In reply to Re: XS: Passing an external library's function a Perl XS callback
by Anonymous Monk
in thread SOLVED: XS: Passing an external library's function a Perl XS callback
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |