eventfd

package
Version: v0.0.0-...-8e8877f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2014 License: MIT Imports: 5 Imported by: 0

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 NewEventFD

func NewEventFD() (*EventFD, error)

func (*EventFD) Close

func (efd *EventFD) Close() error

func (*EventFD) Fd

func (efd *EventFD) Fd() int

func (*EventFD) ReadEvents

func (efd *EventFD) ReadEvents() (count int64, err error)

ReadEvents returns the count of events that have occurred since the last call. If no events have transpired, blocks until at least one does.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL