diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-07-25 01:46:53 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-28 15:47:56 +0200 |
commit | 46d2c1dda2df8f185278aad63ea51f61336e8e7a (patch) | |
tree | 3d7762d2089adc4801bd1c397b28f149b46bc69f /kern/sched_prim.h | |
parent | 0e17ccface304dac65efd86b3c6262afeecac05a (diff) |
kern: new function `thread_sleep_lock'
* kern/sched_prim.c (thread_sleep_lock): New function.
* kern/sched_prim.h (thread_sleep_lock): New delcaration.
Diffstat (limited to 'kern/sched_prim.h')
-rw-r--r-- | kern/sched_prim.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kern/sched_prim.h b/kern/sched_prim.h index bb1865c..8b3f14b 100644 --- a/kern/sched_prim.h +++ b/kern/sched_prim.h @@ -71,6 +71,10 @@ extern void thread_sleep( event_t event, simple_lock_t lock, boolean_t interruptible); +extern void thread_sleep_lock( + event_t event, + lock_t lock, + boolean_t interruptible); extern void thread_wakeup(void); /* for function pointers */ extern void thread_wakeup_prim( event_t event, |