Remove some duplicate FreeBSD CVS IDs, move some IDs to better places.
[dragonfly.git] / sys / sys / xwait.h
1 /*
2  * SYS/XWAIT.H
3  *
4  * $DragonFly: src/sys/sys/xwait.h,v 1.1 2003/06/21 07:54:57 dillon Exp $
5  */
6
7 #ifndef _SYS_XWAIT_H_
8 #define _SYS_XWAIT_H_
9
10 struct proc;
11
12 /*
13  * XWAIT structure for xsleep()/xwakeup()
14  */
15
16 struct xwait {
17     int     gen;
18     TAILQ_HEAD(,proc) waitq;
19 };
20
21 static __inline void
22 xupdate_gen(struct xwait *w)
23 {
24     ++w->gen;
25 }
26
27 #endif
28