thread: exposed ResumeThreadFromWait function for use in other kernel modules
This commit is contained in:
parent
75c6d2a8fa
commit
bed4e920fa
2 changed files with 11 additions and 8 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue