brought back functionality from previous builds but now cross-platform

This commit is contained in:
2025-07-07 15:34:34 +03:00
parent 99eafb9443
commit 83bc9b7f16
61 changed files with 1210 additions and 581 deletions

21
public/tier1/utlmutex.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef TIER1_UTL_MUTEX_H
#define TIER1_UTL_MUTEX_H
#include "pthread.h"
class CUtlLock
{
public:
CUtlLock();
~CUtlLock();
CUtlLock(const CUtlLock&) = delete;
CUtlLock& operator=(const CUtlLock&) = delete;
void Lock();
void Unlock();
private:
pthread_mutex_t m_lock;
};
#endif