Re: [C++-sig] [patch] Make boost python accessible by multiple threads

2010-07-17 Thread Niall Douglas
On 16 Jul 2010 at 12:33, Jim Bosch wrote: > But I don't know much more than this, and I'm also curious to hear the > story told by someone who has more information...why hasn't > multithreading support been added? Does it just add too much overhead > for those who don't need it? Atomic exchan

Re: [C++-sig] [patch] Make boost python accessible by multiple threads

2010-07-17 Thread Niall Douglas
On 16 Jul 2010 at 13:38, Charles Solar wrote: > I mentioned it before but I have this patch for boost python that adds > code to lock and unlock the gil at all the boundaries I have found > between python and boost python. This makes it so multiple threads > can call into python without the user

Re: [C++-sig] [patch] Make boost python accessible by multiple threads

2010-07-16 Thread Jim Bosch
On 07/16/2010 11:38 AM, Charles Solar wrote: I mentioned it before but I have this patch for boost python that adds code to lock and unlock the gil at all the boundaries I have found between python and boost python. This makes it so multiple threads can call into python without the user having t

[C++-sig] [patch] Make boost python accessible by multiple threads

2010-07-16 Thread Charles Solar
I mentioned it before but I have this patch for boost python that adds code to lock and unlock the gil at all the boundaries I have found between python and boost python. This makes it so multiple threads can call into python without the user having to lock and unlock the gil themselves. I am pre