1 #ifndef _LINUX_WAIT_H 2 #define _LINUX_WAIT_H 3 4 #include <linux/limits.h> 5 6 #define WNOHANG 1 7 #define WUNTRACED 2 8 9 struct wait_queue { 10 struct task_struct * task; 11 struct wait_queue * next; 12 }; 13 14 typedef struct select_table_struct { 15 int nr; 16 struct select_table_entry { 17 struct wait_queue wait; 18 struct wait_queue ** wait_address; 19 } entry[NR_OPEN*3]; 20 } select_table; 21 22 #endif