File:  [MW Coherent from dump] / coherent / f / usr / include / common / _poll.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:40 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

#ifndef	__COMMON__POLL_H__
#define	__COMMON__POLL_H__

/*
 * This internal header file is intended as the sole point of definition for
 * the internal data type "poll_t". This data type is not intended for public
 * use, and would not normally be visible; however, in order to maintain
 * binary and source compatibility with earlier releases of Coherent, this
 * type is imported into a structure whose definition was known to driver code
 * in earlier releases.
 *
 * Do not rely on the contents or even existence of this header across
 * releases of the Coherent operating system.
 */

/*
 * Polling is one of the few places using a circular list makes sense.
 * To keep the circular-list code sane, we still distinguish list head from
 * list node and put the first/next pointers in a special node item used by
 * both.
 */

typedef	struct pollnode	poll_t;

struct pollnode {
	poll_t	      *	pn_next;
	poll_t	      *	pn_prev;
};

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