pollwakeup(9f) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

pollwakeup(9f)

pollwakeup(9F)                 Kernel Functions                 pollwakeup(9F)

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).

PARAMETERS
       php      Pointer to a pollhead structure.


       event    Event to notify the process about.


DESCRIPTION
       The  pollwakeup() function 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 dri‐
       ver's private data structure associated with the particular  minor  de‐
       vice  where the event has occurred. See chpoll(9E) and poll(2) for more
       detail.

CONTEXT
       The pollwakeup() function can be called from user, interrupt, or kernel
       context.

SEE ALSO
       poll(2), chpoll(9E)


       Writing Device Drivers in Oracle Solaris 11.4

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

Oracle Solaris 11.4               16 Jan 2006                   pollwakeup(9F)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3