ReactorFD.this

Constructor from existing mecca.lib.FD

  1. this(int fd, bool alreadyNonBlocking)
  2. this(FD fd, bool alreadyNonBlocking)
    struct ReactorFD
    @safe @nogc
    this
    (,
    bool alreadyNonBlocking = false
    )

Parameters

fd FD

an FD rvalue

alreadyNonBlocking bool

whether the OS fd has NONBLOCKING already set on it. Setting to true saves a call to fcntl, but will hang the reactor in some cases.

Meta