Module: SleepyPenguin::Ev

Defined in:
ext/sleepy_penguin/kqueue.c,
ext/sleepy_penguin/kqueue.c

Overview

Constants in the SleepyPenguin::Ev namespace are for the flags field in Kevent structs.

Constant Summary collapse

ADD =

See EV_ADD in the kevent(2) man page

UINT2NUM(EV_ADD)
ENABLE =

See EV_ENABLE in the kevent(2) man page

UINT2NUM(EV_ENABLE)
DISABLE =

See EV_DISABLE in the kevent(2) man page

UINT2NUM(EV_DISABLE)
DISPATCH =

See EV_DISPATCH in the kevent(2) man page

UINT2NUM(EV_DISPATCH)
DELETE =

See EV_DELETE in the kevent(2) man page

UINT2NUM(EV_DELETE)
RECEIPT =

See EV_RECEIPT in the kevent(2) man page

UINT2NUM(EV_RECEIPT)
ONESHOT =

See EV_ONESHOT in the kevent(2) man page

UINT2NUM(EV_ONESHOT)
CLEAR =

See EV_CLEAR in the kevent(2) man page

UINT2NUM(EV_CLEAR)
EOF =

See EV_EOF in the kevent(2) man page

UINT2NUM(EV_EOF)
ERROR =

This is a return value in the proc passed to kevent

UINT2NUM(EV_ERROR)