[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    pollwakeup(9F) manual page Table of Contents

Name

pollwakeup - inform a process that an event has occurred

Synopsis


#include <sys/poll.h>

void pollwakeup(struct pollhead *php, short event);

Interface Level

Architecture independent level 1 (DDI/DKI).

Arguments

php
Pointer to a pollhead structure.
event
Event to notify the process about.

Description

pollwakeup() wakes a process waiting on the occurrence of an event. It should be called from a driver for each occurrence of an event. The pollhead 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) and poll(2) for more detail.

Context

pollwakeup() can be called from user or interrupt context.

See Also

poll(2) , chpoll(9E)

Notes

Driver defined locks should not be held across calls to this function.


Table of Contents