def _make_nonblocking(self):
if hasattr(gevent.os, 'make_nonblocking'):
# On POSIX-compliant systems, the file descriptor flags are
# inherited after forking, i.e. it is sufficient to make fd
# nonblocking only once.
gevent.os.make_nonblocking(self._fd)
评论列表
文章目录