thread: exposed ResumeThreadFromWait function for use in other kernel modules

This commit is contained in:
bunnei 2014-05-20 21:00:10 -04:00
parent 75c6d2a8fa
commit bed4e920fa
2 changed files with 11 additions and 8 deletions

View file

@ -31,6 +31,9 @@ Handle SetupMainThread(s32 priority, int stack_size=Kernel::DEFAULT_STACK_SIZE);
/// Reschedules to the next available thread (call after current thread is suspended)
void Reschedule(const char* reason);
/// Resumes a thread from waiting by marking it as "ready"
void ResumeThreadFromWait(Handle handle);
/// Gets the current thread
Handle GetCurrentThread();