Annotation of coherent/f/usr/include/common/_poll.h, revision 1.1

1.1     ! root        1: #ifndef        __COMMON__POLL_H__
        !             2: #define        __COMMON__POLL_H__
        !             3: 
        !             4: /*
        !             5:  * This internal header file is intended as the sole point of definition for
        !             6:  * the internal data type "poll_t". This data type is not intended for public
        !             7:  * use, and would not normally be visible; however, in order to maintain
        !             8:  * binary and source compatibility with earlier releases of Coherent, this
        !             9:  * type is imported into a structure whose definition was known to driver code
        !            10:  * in earlier releases.
        !            11:  *
        !            12:  * Do not rely on the contents or even existence of this header across
        !            13:  * releases of the Coherent operating system.
        !            14:  */
        !            15: 
        !            16: /*
        !            17:  * Polling is one of the few places using a circular list makes sense.
        !            18:  * To keep the circular-list code sane, we still distinguish list head from
        !            19:  * list node and put the first/next pointers in a special node item used by
        !            20:  * both.
        !            21:  */
        !            22: 
        !            23: typedef        struct pollnode poll_t;
        !            24: 
        !            25: struct pollnode {
        !            26:        poll_t        * pn_next;
        !            27:        poll_t        * pn_prev;
        !            28: };
        !            29: 
        !            30: #endif /* ! defined (__COMMON__POLL_H__) */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.