mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
b1f27db3bd
We cannot use blocking file-descriptor I/O on the I/O thread. This patch adds an assertion to UnixFdWatcher the tests for the O_NONBLOCK flag, when installing a file descriptor. In UnixFileWatcher, the Open method tests for the O_NONBLOCK flag for the opened file. File-descriptor flags for UnixSocketImpl et al are currently set by UnixSocketImpl itself. Later patches should move this into the methods of connector classes. |
||
---|---|---|
.. | ||
moz.build | ||
UnixFdWatcher.cpp | ||
UnixFdWatcher.h | ||
UnixFileWatcher.cpp | ||
UnixFileWatcher.h | ||
UnixSocketWatcher.cpp | ||
UnixSocketWatcher.h |