[C++-sig] Threads and boost Python

Matthew Scouten matthew.scouten at gmail.com
Mon Sep 17 17:27:25 CEST 2007


The (large, complex) library I am wrapping uses threads. The user make
calls into the lib make a request,  and the lib calls back on a
different thread some time later.

I am aware that Python has some multi-threading  support, but I am not
sure how this will interoperate with boost python. For example, are
there any special things I need to do in the wrapper? Are there any
common gotchas I need to know about?

Keep in mind that these questions are from someone who is new to
python and boost::python, and rusty at c++, so don't jump on me to
hard if they are stupid questions :)



More information about the Cplusplus-sig mailing list