Re: [C++-sig] Cplusplus-sig Digest, Vol 17, Issue 4

2010-02-03 Thread Pascal Briet
python part of your program WILL be single threaded. There is nothing you can do about that. From: cplusplus-sig-bounces+matthew.scouten=tradingtechnologies@python.org [mailto:cplusplus-sig-bounces+matthew.scouten=tradingtechnologies@python .org] On Behalf Of Pascal Briet Sent: Tue

[C++-sig] PyGILState_Release with multithread

2010-02-02 Thread Pascal Briet
Hello, After a few days of headache, I think the best way is to share this problematicÂ… I have : - a main Python script - a C module imported and called from Python (thanks to boost ::python) - A dozen of threads created by a C function (boost ::thread) - These threads, in a C main lo