epoll

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pollster

type Pollster struct {
	// contains filtered or unexported fields
}

func NewPollster

func NewPollster() (p *Pollster, err error)

func (*Pollster) AddFD

func (p *Pollster) AddFD(fd int, mode int, repeat bool) (bool, error)

func (*Pollster) Close

func (p *Pollster) Close() error

func (*Pollster) DelFD

func (p *Pollster) DelFD(fd int, mode int)

func (*Pollster) StopWaiting

func (p *Pollster) StopWaiting(fd int, bits uint)

func (*Pollster) WaitFD

func (p *Pollster) WaitFD(nsec int64) (fd int, mode int, err error)

Jump to

Keyboard shortcuts

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