mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
[orbis-kernel] Implement sys_evf timeout
This commit is contained in:
parent
dee73342ac
commit
25b3e08b6a
2 changed files with 37 additions and 26 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
#include "KernelAllocator.hpp"
|
||||
#include "thread/Thread.hpp"
|
||||
#include "utils/SharedCV.hpp"
|
||||
#include "utils/SharedMutex.hpp"
|
||||
#include <atomic>
|
||||
#include <condition_variable>
|
||||
|
|
@ -31,7 +32,7 @@ struct EventFlag final {
|
|||
|
||||
struct WaitingThread {
|
||||
Thread *thread;
|
||||
shared_mutex *mtx;
|
||||
utils::shared_cv *cv;
|
||||
std::uint64_t *patternSet;
|
||||
bool *isCanceled;
|
||||
std::uint64_t bitPattern;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue