mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-09 09:15:55 +01:00
25 lines
261 B
C
25 lines
261 B
C
#pragma once
|
|
|
|
struct mutex_attr
|
|
{
|
|
u32 protocol;
|
|
u32 recursive;
|
|
u32 pshared;
|
|
u32 adaptive;
|
|
u64 ipc_key;
|
|
int flags;
|
|
u32 pad;
|
|
char name[8];
|
|
};
|
|
|
|
struct mutex
|
|
{
|
|
wxMutex mtx;
|
|
mutex_attr attr;
|
|
|
|
mutex(const mutex_attr& attr)
|
|
: mtx()
|
|
, attr(attr)
|
|
{
|
|
}
|
|
}; |