mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
vm::atomic -> atomic_t
This commit is contained in:
parent
e40776ba79
commit
ae17ef4d68
15 changed files with 394 additions and 258 deletions
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include "Emu/Memory/vm_atomic.h"
|
||||
#include "Emu/Memory/atomic_type.h"
|
||||
|
||||
bool SM_IsAborted();
|
||||
void SM_Sleep();
|
||||
|
@ -25,9 +25,9 @@ template
|
|||
>
|
||||
class SMutexBase
|
||||
{
|
||||
static_assert(sizeof(T) == sizeof(vm::atomic_le<T>), "Invalid SMutexBase type");
|
||||
static_assert(sizeof(T) == sizeof(atomic_le_t<T>), "Invalid SMutexBase type");
|
||||
T owner;
|
||||
typedef vm::atomic_le<T> AT;
|
||||
typedef atomic_le_t<T> AT;
|
||||
|
||||
public:
|
||||
static const T GetFreeValue()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue