LV2: allocation-free synchronization syscalls

* Show waiters' ID in kernel explorer.
* Remove deque dependency from sys_sync.h
This commit is contained in:
Eladash 2022-07-25 18:57:47 +03:00 committed by Ivan
parent c7fbc16357
commit 73aaff1b29
26 changed files with 547 additions and 275 deletions

View file

@ -4832,7 +4832,7 @@ bool spu_thread::stop_and_signal(u32 code)
if (queue->events.empty())
{
queue->sq.emplace_back(this);
lv2_obj::emplace(queue->sq, this);
group->run_state = SPU_THREAD_GROUP_STATUS_WAITING;
group->waiter_spu_index = index;