Re: perlembed: Interrupt call_pv

2015-07-25 Thread Fedor Sumkin
Hello everyone! I am using Perl to embed it in C application, I need to have an ability to interrupt Perl function which have been invoked with `call_pv`. As function is invoked, it is blocking thread where it is running. So, I see the only way to interrupt this blocking thread - via killing this

Re: perlembed: Interrupt call_pv

2015-07-25 Thread Fedor Sumkin
Hello Shlomi, Thanks for your suggestion, I'll duplicate question to perl-xs and will try to answer to your second question in next reply. Regards, Fedor On Sat, Jul 25, 2015 at 12:23 PM, Shlomi Fish wrote: > Hi Fedor, > > On Fri, 24 Jul 2015 15:17:58 +0300 > Fedor Sumkin wrote: > > > Hello,

Re: perlembed: Interrupt call_pv

2015-07-25 Thread Shlomi Fish
Hi Fedor, On Fri, 24 Jul 2015 15:17:58 +0300 Fedor Sumkin wrote: > Hello, > > I am using Perl to embed it in C application( > http://perldoc.perl.org/perlembed.html). > > I need to have a possibility to interrupt perl function invoked from C code > via `call_pv`/`call_*` methods. > > I tried