msleep() -> EAGAIN ?

Eric van Gyzen eric at vangyzen.net
Wed Dec 19 23:08:53 UTC 2018


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


More information about the freebsd-hackers mailing list