package
Version:
v0.0.0-...-a858404
Opens a new window with list of versions in this module.
Published: Jan 23, 2024
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.