[illumos-Developer] webrev: 1039 /usr/lib/smbsrv/smbd prevents suspend

Gordon Ross gordon.w.ross at gmail.com
Thu May 26 15:01:22 PDT 2011


On Thu, May 26, 2011 at 5:28 PM, Eric Schrock <eric.schrock at delphix.com> wrote:
>
> I was trying to convey the missed wakeup opportunity.  Normally, one would
> do:
> mutex_lock()
> while (!condition)
>     cv_wait()
> mutex_unlock()

Yeah, you're right.  We can close a "missed wakeup" race here.
Have another look...

Thanks,
Gordon



More information about the Developer mailing list