package
Version:
v0.0.0-...-957f62e
Opens a new window with list of versions in this module.
Published: Nov 10, 2023
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stopfd provides an type that can be used to signal the stop of a dispatcher.
type StopFD struct {
EFD int
}
StopFD is an eventfd used to signal the stop of a dispatcher.
New returns a new, initialized StopFD.
Stop writes to the eventfd and notifies the dispatcher to stop. It does not
block.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.