[C++-sig] Re: Embedding python and sigint

David Abrahams dave at boost-consulting.com
Thu Oct 14 16:10:04 CEST 2004


Brian Murphy <brian.p.murphy at gmail.com> writes:

> Hi,
> I have embedded python sucessfully in my multithreaded application but
> I have one problem. It seems that when I initialize the interpreter,
> sigint(ctrl-c) gets swallowed. I am running Fedora Core 2 and Python
> 2.3 compiled to a shared library. Is there any way; apart from writing
> my own signal handler and binding it to sigint, to allow normal
> sigints ?

Brian, 

Sounds like this is not a C++-specific question.  You might get
better answers on comp.lang.python.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com




More information about the Cplusplus-sig mailing list