Documentation ¶
Overview ¶
Package fdnotifier contains an adapter that translates IO events (e.g., a file became readable/writable) from native FDs to the notifications in the waiter package. It uses epoll in edge-triggered mode to receive notifications for registered FDs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasFD ¶
HasFD returns true if the FD is in the list of observed FDs.
This should only be used by tests to assert that FDs are correctly registered.
func NonBlockingPoll ¶
NonBlockingPoll polls the given FD in non-blocking fashion. It is used just to query the FD's current state.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.