projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
timeout/untimeout ==> callout_*
[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