Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pollwakeup(D3DK) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

poll(2)

pollwakeup(D3DK)  —  

.IX \f4pollwakeup\f1(D3DK)

NAME

pollwakeup − inform polling processes that an event has occurred

SYNOPSIS

#include <sys/poll.h>
void pollwakeup(struct pollhead ∗php, short event);

ARGUMENTS

phpPointer to a pollhead structure. 

eventEvent to notify the process about. 

DESCRIPTION

The pollwakeup function provides non-STREAMS character drivers with a way to notify processes polling for the occurrence of an event.  pollwakeup should be called from the driver for each occurrence of an event.  Events are described in chpoll(D2DK). 

The pollhead structure will usually be associated with the driver’s private data structure for the particular minor device where the event has occurred. 

RETURN

None. 

LEVEL

Base or Interrupt. 

NOTES

Does not sleep. 

Driver-defined basic locks, read/write locks, and sleep locks may be held across calls to this function. 

pollwakeup should only be called with one event at a time. 

SEE ALSO

chpoll(D2DK) poll(2) in the Programmer’s Reference Manual

DDI/DKI

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026