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

📄 wait.h

📁 GNU Hurd 源代码
💻 H
字号:
#ifndef _HACK_WAIT_H_#define _HACK_WAIT_H_#include <cthreads.h>/* This data structure actually represents one waiter on a wait queue,   and waiters always expect to initialize it with { current, NULL }.   The actual wait queue is a `struct wait_queue *' stored somewhere.   We ignore these structures provided by the waiters entirely.   In the `struct wait_queue *' that is the "head of the wait queue" slot,   we actually store a `struct condition *' pointing to malloc'd storage.  */struct wait_queue{  struct task_struct *task;	/* current */  struct wait_queue *next;	/* NULL */};struct select_table_elt{  struct condition *dependent_condition;  struct select_table_elt *next;};typedef struct select_table_struct{  struct condition master_condition;  struct select_table_elt *head;} select_table;#endif

⌨️ 快捷键说明

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