<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 08/15/2011 11:25 AM, Rob Crittenden wrote:
    <blockquote cite="mid:4E49568A.5030307@redhat.com" type="cite">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.
      <br>
      <br>
      I'm still testing this code, sending patch out to confirm
      approach.
      <br>
    </blockquote>
    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<br>
    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.<br>
    <blockquote cite="mid:4E49568A.5030307@redhat.com" type="cite">
      <br>
      rob
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>