summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-08-08 18:08:06 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-08-08 18:08:06 +0000
commit4fe07de00660b48532a8d438c9c3abdf2fd03067 (patch)
tree3cd02d567076a31172235624d4e10a460500cedd
parent5f8882854e1007be61d25ea9c2bbf53759e01f4d (diff)
Formerly sched.h.~5~
-rw-r--r--pfinet/linux/sched.h9
1 files changed, 9 insertions, 0 deletions
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