in reply to SOLVED: XS: Passing an external library's function a Perl XS callback
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XS: Passing an external library's function a Perl XS callback
by stevieb (Canon) on Aug 15, 2016 at 20:29 UTC | |
by BrowserUk (Patriarch) on Aug 15, 2016 at 21:04 UTC | |
by stevieb (Canon) on Aug 15, 2016 at 21:33 UTC | |
by Anonymous Monk on Aug 15, 2016 at 21:45 UTC | |
by syphilis (Archbishop) on Aug 16, 2016 at 00:10 UTC |