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.


Attachment: thread.patch
Description: application/mbox

Freeipa-devel mailing list

Reply via email to