svn commit: r217561 - in head/sys: arm/arm i386/i386 mips/mips powerpc/aim powerpc/booke sparc64/sparc64

John-Mark Gurney jmg at funkthat.com
Tue Jan 18 23:26:47 UTC 2011


Konstantin Belousov wrote this message on Tue, Jan 18, 2011 at 21:57 +0000:
>   sf_buf_alloc() calls msleep(PCATCH) when SFB_CATCH flag was given,
>   and for simultaneous wakeup and signal delivery, msleep() returns
>   EINTR/ERESTART despite the thread was selected for wakeup_one(). As
>   result, we loose a wakeup, and some other waiter will not be woken up.

Shouldn't this behavior be documented in the man page?  That even
though msleep may return a non-zero value that it could have been
really woken up?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the svn-src-all mailing list