Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventFD ¶
type EventFD struct {
// contains filtered or unexported fields
}
func (*EventFD) Read ¶
Read events from Eventfd. p should be at max 8 bytes. * Returns the number of read bytes or 0 and error is set.
func (*EventFD) ReadEvents ¶
Read events into a uint64 and return it. Returns 0 and error * if an error occured
func (*EventFD) Write ¶
Write bytes to eventfd. Will be added to the current * value of the internal uint64 of the eventfd().
func (*EventFD) WriteEvents ¶
Write a uint64 to eventfd. Value will be added to current value * of the eventfd
Click to show internal directories.
Click to hide internal directories.