POLLWAKEUP(9F) Kernel Functions for Drivers POLLWAKEUP(9F)
pollwakeup - inform a process that an event has occurred
#include <sys/poll.h> void pollwakeup
(struct pollhead *php
, short event
Architecture independent level 1 (DDI/DKI).
Pointer to a pollhead
Event to notify the process about.
function wakes a process waiting on the occurrence of an
event. It should be called from a driver for each occurrence of an event.
structure will usually be associated with the driver's
private data structure associated with the particular minor device where
the event has occurred. See chpoll(9E)
for more detail.
function can be called from user, interrupt, or kernel
SEE ALSO poll(2)
, chpoll(9E) Writing Device Drivers
Driver defined locks should not be held across calls to this function.
January 16, 2006 POLLWAKEUP(9F)