fixed various build errors

This commit is contained in:
Lorenzo Dellacà
2020-07-22 21:21:21 +02:00
parent 47b5466a6e
commit fd8dd82a8d
3 changed files with 11 additions and 6 deletions

View File

@@ -5,8 +5,13 @@
typedef bool (*ThreadPredicate)(KThread *thread);
void rosalinaLockThread(KThread *thread);
void rosalinaRescheduleThread(KThread *thread, bool lock);
static void rosalinaLockThread(KThread *thread)
{
KThread *syncThread = synchronizationMutex->owner;
if(syncThread == NULL || syncThread != thread)
rosalinaRescheduleThread(thread, true);
}
Result ControlProcess(Handle processHandle, ProcessOp op, u32 varg2, u32 varg3)
{