⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wait.h

📁 GNU Hurd 源代码
💻 H
字号:
#ifndef _LINUX_WAIT_H#define _LINUX_WAIT_H#define WNOHANG		0x00000001#define WUNTRACED	0x00000002#define __WCLONE	0x80000000#ifdef __KERNEL__#include <asm/page.h>struct wait_queue {	struct task_struct * task;	struct wait_queue * next;};#define WAIT_QUEUE_HEAD(x) ((struct wait_queue *)((x)-1))static inline void init_waitqueue(struct wait_queue **q){	*q = WAIT_QUEUE_HEAD(q);}static inline int waitqueue_active(struct wait_queue **q){	struct wait_queue *head = *q;	return head && head != WAIT_QUEUE_HEAD(q);}#endif /* __KERNEL__ */#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -