Hi Fedor,

On Fri, 24 Jul 2015 15:17:58 +0300
Fedor Sumkin <qosys....@gmail.com> 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 achieving this via destroying running perl context, but this
> resulted on fatal error "Can't undef active subroutine during global
> destruction".
> 
> So, how can I interrupt running perl func from C?
> 

Two notes:

1. XS/C-ext/C-embed/etc. are likely out of the scope of beginners@perl.org .
You may have better luck here: http://lists.perl.org/list/perl-xs.html .

2. It's not clear to me from reading your message what exactly your issue is.
Can you explain?

Regards,

        Shlomi Fish


-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap

Chuck Norris can end world hunger, but he thinks that hungry people make
humanity a more challenging adversary.
    — http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to