mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
[orbis-kernel] Evf: don't use thread retval to store result
This commit is contained in:
parent
1bf88f6fe8
commit
5f5538cc68
3 changed files with 16 additions and 20 deletions
|
|
@ -12,7 +12,6 @@ namespace orbis {
|
|||
struct Process;
|
||||
struct Thread {
|
||||
utils::shared_mutex mtx;
|
||||
utils::shared_cv sync_cv;
|
||||
Process *tproc = nullptr;
|
||||
uint64_t retval[2]{};
|
||||
void *context{};
|
||||
|
|
@ -28,6 +27,11 @@ struct Thread {
|
|||
ThreadState state = ThreadState::INACTIVE;
|
||||
std::thread handle;
|
||||
|
||||
// Used to wake up thread in sleep queue
|
||||
utils::shared_cv sync_cv;
|
||||
uint64_t evfResultPattern;
|
||||
uint64_t evfIsCancelled;
|
||||
|
||||
// FIXME: implement thread destruction
|
||||
void incRef() {}
|
||||
void decRef() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue