[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Unix(macOS) SocketPlugin: (7deac02)

Tobias Pape notifications at github.com
Fri Oct 9 06:20:23 UTC 2020


Manpage says otherwise:
> If the time limit expires, `select()` returns 0

And some tutorial says:
>On success, `select()` and `pselect()` return the number of file descriptors contained in the three returned descriptor sets (that is, the total number of bits that are set in `readfds`, `writefds`, `exceptfds`) which *may be zero if the timeout expires before anything interesting happens*.

I don't see how `select` should ever return `0` for a writable `fd`


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/7deac028aeeb769c8782242fc23bebdfaaa58e3d#commitcomment-43096552
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20201008/faa334a1/attachment-0001.html>


More information about the Vm-dev mailing list