From 9dedc1a4c762eb6896a0dfb33ee4d82bda77db5b Mon Sep 17 00:00:00 2001 From: GAMMACASE <31375974+GAMMACASE@users.noreply.github.com> Date: Thu, 2 Apr 2026 19:34:29 +0300 Subject: [PATCH] Update ThreadAtomic* tier0 exported methods --- public/tier0/threadtools.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/tier0/threadtools.h b/public/tier0/threadtools.h index 1bda846f..fd6315c4 100644 --- a/public/tier0/threadtools.h +++ b/public/tier0/threadtools.h @@ -89,10 +89,10 @@ PLATFORM_INTERFACE bool ReleaseThreadHandle( ThreadHandle_t ); //----------------------------------------------------------------------------- -PLATFORM_OVERLOAD void ThreadAtomicNotifyOne( uint32 *addr ); -PLATFORM_OVERLOAD void ThreadAtomicNotifyN( uint32 *addr, uint32 n ); -PLATFORM_OVERLOAD void ThreadAtomicNotifyAll( uint32 *addr ); -PLATFORM_OVERLOAD void ThreadAtomicWait( uint32 *addr, uint32 ms ); +PLATFORM_OVERLOAD void ThreadAtomicNotifyOne( const uint32 *addr ); +PLATFORM_OVERLOAD void ThreadAtomicNotifyN( const uint32 *addr, uint32 n ); +PLATFORM_OVERLOAD void ThreadAtomicNotifyAll( const uint32 *addr ); +PLATFORM_OVERLOAD void ThreadAtomicWait( volatile uint32 *addr, uint32 ms ); PLATFORM_INTERFACE void ThreadSleep(unsigned duration = 0); PLATFORM_INTERFACE ThreadId_t ThreadGetCurrentId();