From 4fe07de00660b48532a8d438c9c3abdf2fd03067 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 8 Aug 1995 18:08:06 +0000 Subject: Formerly sched.h.~5~ --- pfinet/linux/sched.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pfinet/linux') diff --git a/pfinet/linux/sched.h b/pfinet/linux/sched.h index 8d3facd9..5c548d46 100644 --- a/pfinet/linux/sched.h +++ b/pfinet/linux/sched.h @@ -20,16 +20,25 @@ struct task_struct int timeout; int signal; int blocked; + int state; + int isroot; }; /* FLAGS in task_struct's. */ #define PF_EXITING 1 +/* STATE in task_struct's. */ +#define TASK_INTERRUPTIBLE 1 +#define TASK_RUNNING 2 void wake_up_interruptible (struct wait_queue **); void interruptible_sleep_on (struct wait_queue **); +void add_wait_queue (struct wait_queue **, struct wait_queue *); +void remove_wait_queue (struct wait_queue **, struct wait_queue *); void select_wait (struct wait_queue **, select_table *); +void schedule (void); + #define SEL_IN SELECT_READ #define SEL_OUT SELECT_WRITE #define SEL_EX SELECT_URG -- cgit v1.2.3