kernel: Add thread_unblock() and use it where possible

This commit is contained in:
Pawel Dziepak
2013-10-30 03:58:36 +01:00
parent d70728f54d
commit c8dd9f7780
11 changed files with 33 additions and 41 deletions
+1
View File
@@ -132,6 +132,7 @@ status_t thread_block();
status_t thread_block_with_timeout(uint32 timeoutFlags, bigtime_t timeout);
status_t thread_block_with_timeout_locked(uint32 timeoutFlags,
bigtime_t timeout);
void thread_unblock(Thread* thread, status_t status);
// used in syscalls.c
status_t _user_set_thread_priority(thread_id thread, int32 newPriority);