[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: msleep() -> EAGAIN ?
From:       Eric van Gyzen <eric () vangyzen ! net>
Date:       2018-12-19 23:16:03
Message-ID: a6a53685-14eb-74f5-2fa0-94bd0bab77de () vangyzen ! net
[Download RAW message or body]

#define EWOULDBLOCK     EAGAIN          /* Operation would block */

Sigh.  Nevermind.

Eric

On 12/19/18 5:08 PM, Eric van Gyzen wrote:
> These functions check for msleep() returning EAGAIN, but I don't see how
> that can happen?
>
> uipc_mqueue.c  _mqueue_send()
> uipc_mqueue.c  _mqueue_recv()
> kern_sig.c     kern_sigtimedwait()
> fuse_ipc.c     fticket_wait_answer()
>
> Can msleep() really return EAGAIN and I just don't see it?  Did msleep()
> return EAGAIN in the past, but no longer can?
>
> Thanks,
>
> Eric
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic