in reply to Re^2: XS: Passing an external library's function a Perl XS callback
in thread SOLVED: XS: Passing an external library's function a Perl XS callback
Under threads, perl code needs the appropriate context. If you callback to code referenced from one thread whilst running under another, you will have the wrong context and crash.
Read down from here, it may help. There is lots of good information, but it evolves out over a long back&forth thread.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: (SOLVED) XS: Passing an external library's function a Perl XS callback
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 |