mirror of
https://github.com/decaf-emu/decaf-emu.git
synced 2026-10-11 16:18:14 +00:00
Implement all the thread synchronisation objects for the new scheduler.
Event, fastmutex, messagequeue, mutex, condition, semaphore. This also gets rid of the silly systemobject system, yay! Add some stubs for Alarm, need interrupt support in our CPU to implement.
This commit is contained in:
@@ -79,6 +79,7 @@ Processor::coreEntryPoint(Core *core)
|
||||
|
||||
// Switch to fiber
|
||||
core->currentFiber = fiber;
|
||||
fiber->coreID = core->id;
|
||||
fiber->parentFiber = core->primaryFiber;
|
||||
fiber->thread->state = OSThreadState::Running;
|
||||
lock.unlock();
|
||||
|
||||
Reference in New Issue
Block a user