23 lines
374 B
C
23 lines
374 B
C
#ifndef _LINUX_WAIT_H
|
|
#define _LINUX_WAIT_H
|
|
|
|
#include <linux/limits.h>
|
|
|
|
#define WNOHANG 1
|
|
#define WUNTRACED 2
|
|
|
|
struct wait_queue {
|
|
struct task_struct * task;
|
|
struct wait_queue * next;
|
|
};
|
|
|
|
typedef struct select_table_struct {
|
|
int nr;
|
|
struct select_table_entry {
|
|
struct wait_queue wait;
|
|
struct wait_queue ** wait_address;
|
|
} entry[NR_OPEN*3];
|
|
} select_table;
|
|
|
|
#endif
|