diff options
author | Alexis211 <alexis211@gmail.com> | 2010-08-10 20:59:01 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2010-08-10 20:59:01 +0200 |
commit | b2c444834ef0a384587a6a7d196eeb073825eac2 (patch) | |
tree | b56bf8ecb166153c45101a3476480e485d62ea5f /src/kernel/task/task.h | |
parent | f81bf65484fa8c81a1886f456c71f1e6eebe84e9 (diff) | |
download | TCE-b2c444834ef0a384587a6a7d196eeb073825eac2.tar.gz TCE-b2c444834ef0a384587a6a7d196eeb073825eac2.zip |
thread_sleep functions redone.
Diffstat (limited to 'src/kernel/task/task.h')
-rw-r--r-- | src/kernel/task/task.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/task/task.h b/src/kernel/task/task.h index ef93c9f..3b7d9af 100644 --- a/src/kernel/task/task.h +++ b/src/kernel/task/task.h @@ -6,7 +6,6 @@ #include "idt.h" #define TS_RUNNING 0 -#define TS_SLEEPING 1 //Sleeping for a defined amount of time #define TS_WAKEWAIT 2 //Waiting to be waked up by something precise (thread currently blocked) #define PL_UNKNOWN 4 @@ -56,7 +55,6 @@ void tasking_switch(); void tasking_updateKernelPagetable(uint32_t idx, struct page_table *table, uint32_t tablePhysical); uint32_t tasking_handleException(struct registers *regs); -void thread_sleep(uint32_t msecs); void thread_goInactive(); //Blocks the current thread. it is then waked up by another thread or a system event. void thread_wakeUp(struct thread *t); int proc_priv(); //Returns current privilege level |