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

Rich Megginson rmeggins at redhat.com
Mon Aug 15 18:28:13 UTC 2011


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 still testing this code, sending patch out to confirm approach.
I don't know if you want all of the stuff in wrap.c/.h - for example, 
the rpc include - but I suppose it does make it cleaner if you want to 
update this in the future directly from slapi-nis
Also, you might want to add configure.ac tests to decide whether or not 
to use nspr threads/locks, pthread locks, and/or slapi_rwlocks.
>
> rob
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110815/9864e2f0/attachment.htm>


More information about the Freeipa-devel mailing list