Change sendfile() to use the new m_ext callback scheme for cleaning up after
[dragonfly.git] / sys / sys / xwait.h
CommitLineData
f1d1c3fa
MD
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
10struct proc;
11
12/*
13 * XWAIT structure for xsleep()/xwakeup()
14 */
15
16struct xwait {
17 int gen;
18 TAILQ_HEAD(,proc) waitq;
19};
20
21static __inline void
22xupdate_gen(struct xwait *w)
23{
24 ++w->gen;
25}
26
27#endif
28