mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 15:40:30 +01:00
[orbis-kernel][Thread] Replace std::mutex with shared_mutex
shared_mutex should be used in shared memory
This commit is contained in:
parent
d7a34f0904
commit
d279166c0b
|
|
@ -4,12 +4,12 @@
|
|||
#include "types.hpp"
|
||||
#include "ThreadState.hpp"
|
||||
|
||||
#include <mutex>
|
||||
#include "../utils/SharedMutex.hpp"
|
||||
|
||||
namespace orbis {
|
||||
struct Process;
|
||||
struct Thread {
|
||||
std::mutex lock;
|
||||
shared_mutex mtx;
|
||||
Process *tproc = nullptr;
|
||||
uint64_t retval[2]{};
|
||||
void *context{};
|
||||
|
|
|
|||
Loading…
Reference in a new issue