From 1995ad1132f93a0bfbb4b6c35a779693577b9924 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 2 Aug 1995 17:28:07 +0000 Subject: Formerly sched.h.~2~ --- pfinet/linux/sched.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'pfinet') diff --git a/pfinet/linux/sched.h b/pfinet/linux/sched.h index e69de29b..734a8b4d 100644 --- a/pfinet/linux/sched.h +++ b/pfinet/linux/sched.h @@ -0,0 +1,32 @@ +#ifndef _HACK_SCHED_H +#define _HACK_SCHED_H + +#include +#include + +extern unsigned long volatile jiffies; +#define HZ 100 +extern struct task_struct *current; + +struct task_struct +{ + uid_t pgrp, pid; + int flags; + int timeout; + int signal; + int blocked; +}; + +/* FLAGS in task_struct's. */ +#define PF_EXITING 1 + +void wake_up_interruptible (struct wait_queue **); +void interruptible_sleep_on (struct wait_queue **); + +int send_sig (u_long, struct task_struct *, int); + +int fetch_current_time (void); + +#define CURRENT_TIME (fetch_current_time()) + +#endif -- cgit v1.2.3