(fd)
Make a file descriptor non-blocking
Make a file descriptor non-blocking
Make a file descriptor non - blocking
def setNonBlocking(fd):
    """
    Make a file descriptor non-blocking
    """

    import fcntl

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