

def _set_nonblocking(fd):
    flags = fcntl.fcntl(fd, fcntl.F_GETFL)
    fcntl.fcntl(fd, fcntl.F_SETFL, (flags | os.O_NONBLOCK))

dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/tornado/platform/posix.py _set_nonblocking/original