Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pollwakeup(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

poll(2)






       pollwakeup(D3)                                        pollwakeup(D3)


       NAME
             pollwakeup - inform polling processes that an event has
             occurred

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

          Arguments
             php       Pointer to a pollhead structure.

             event     Event 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.

          Return Values
             None

       USAGE
             pollwakeup should be called from the driver for each
             occurrence of an event.  Events are described in chpoll(D2).

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

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

          Level
             Base or Interrupt.

          Synchronization Constraints
             Does not sleep.

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

       REFERENCES
             chpoll(D2), poll(2)





                           Copyright 1994 Novell, Inc.               Page 1













      pollwakeup(D3)                                        pollwakeup(D3)


      NOTICES
         Portability
            All processors

         Applicability
            ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp










































                          Copyright 1994 Novell, Inc.               Page 2








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