Boost logo

Boost :

From: rwgk_at_[hidden]
Date: 2001-06-24 10:51:58


--- In boost_at_y..., dustin_at_d... wrote:
> Please excuse my relative ignorance. My question is: I've written a
> Python Extension module in C++ using the Boost Python library. If I
> understand correctly, the thread in which my extension module
> executes will maintain a lock on the Python interpreter while
> executing within the extension module, preventing other python
> threads from executing. Can I get around this by releasing the
> interpreter lock? Any assistance would be greatly appreciated.

Have you tried and failed, or is your question how to release
the interpreter lock?

For the latter:

http://python.sourceforge.net/devel-docs/api/threads.html

I have not tried this, but my expection would be that this
this will also work when using the Boost.Python library.

Ralf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk