Reece
e82ec4a343
[+] AuThreading.WakeAllOnAddress [+] AuThreading.WakeOnAddress [+] AuThreading.WakeNOnAddress [+] AuThreading.TryWaitOnAddress [+] AuThreading.WaitOnAddress [*] Further optimize synch primitives [+] AuThreadPrimitives::RWRenterableLock
27 lines
817 B
C++
27 lines
817 B
C++
/***
|
|
Copyright (C) 2023 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: WakeOnAddress.hpp
|
|
Date: 2023-3-11
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::Threading
|
|
{
|
|
AUKN_SYM void WakeAllOnAddress(void *pTargetAddress);
|
|
|
|
AUKN_SYM void WakeOnAddress(void *pTargetAddress);
|
|
|
|
AUKN_SYM void WakeNOnAddress(void *pTargetAddress,
|
|
AuUInt8 uNMaximumThreads);
|
|
|
|
AUKN_SYM bool TryWaitOnAddress(void *pTargetAddress,
|
|
void *pCompareAddress,
|
|
AuUInt8 uWordSize);
|
|
|
|
AUKN_SYM bool WaitOnAddress(void *pTargetAddress,
|
|
void *pCompareAddress,
|
|
AuUInt8 uWordSize,
|
|
AuUInt64 qwNanoseconds);
|
|
} |