/*	@(#)volchan.h	13.1 (Tolerant) 91/02/02	*/

/*
 *  volchan.h
 *
 *    Structure used by the vol_sleepchan() and vol_wakeupchan()
 *    primitives.
 */

#define CH_EXPECT	199927	/* Not suspended but expecting event */
				/*   completion */
#define CH_WAITING	123777	/* Suspended until event completion */
#define CH_NOT_WAITING  456999 	/* Event complete */

struct channel
{
    short	ch_rte_procid;	/* RTE procid of waiting process */
    int		ch_state;	/* State of the channel (see defines) */

    u_long	ch_pad[2];	/* reserved for future use */
};

/*
 *  End of volchan.h
 */
