Re: [C++-sig] PyGILState_Release with multithread

2010-02-02 Thread Renato Araujo
ython.org] *On Behalf Of *Pascal Briet > *Sent:* Tuesday, February 02, 2010 5:46 AM > *To:* cplusplus-sig@python.org > *Subject:* [C++-sig] PyGILState_Release with multithread > > > > Hello, > > > > After a few days of headache, I think the best way is to share thi

Re: [C++-sig] PyGILState_Release with multithread

2010-02-02 Thread Matthew Scouten (TT)
@python.org] On Behalf Of Pascal Briet Sent: Tuesday, February 02, 2010 5:46 AM To: cplusplus-sig@python.org Subject: [C++-sig] PyGILState_Release with multithread Hello, After a few days of headache, I think the best way is to share this problematic... I have : - a main Pytho

[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