package
Version:
v0.0.0-...-ab9d845
Opens a new window with list of versions in this module.
Published: Dec 11, 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.