package
Version:
v0.0.0-...-9e0e42b
Opens a new window with list of versions in this module.
Published: Nov 22, 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: 4
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.
+stateify savable
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.