Re: [Freeipa-devel] [PATCH] preview of threading patch

2011-08-15 Thread Simo Sorce
On Mon, 2011-08-15 at 14:39 -0400, Rob Crittenden wrote: > Rob Crittenden wrote: > > According to the 389-ds team we should use pthread read-write locks for > > now to avoid a deadlock. I borrowed some nice wrapper code which > > supports both from slapi-nis. I expect that we'll change this to the

Re: [Freeipa-devel] [PATCH] preview of threading patch

2011-08-15 Thread Rob Crittenden
Rob Crittenden wrote: According to the 389-ds team we should use pthread read-write locks for now to avoid a deadlock. I borrowed some nice wrapper code which supports both from slapi-nis. I expect that we'll change this to the slapi lock api once it is available. I'm still testing this code, se

Re: [Freeipa-devel] [PATCH] preview of threading patch

2011-08-15 Thread Rich Megginson
On 08/15/2011 11:25 AM, Rob Crittenden wrote: According to the 389-ds team we should use pthread read-write locks for now to avoid a deadlock. I borrowed some nice wrapper code which supports both from slapi-nis. I expect that we'll change this to the slapi lock api once it is available. I'm