11 #include "RNPlatform/Inc/MemoryTracking.h"
16 #if defined(RN_UNIX_LIKE)
20 namespace RNReplicaNet
24 const int kReplicaNetPreferredProcessorOSChoice = -1;
92 static size_t GetNumAllocated(
void)
96 static size_t GetNumActive(
void)
108 #if defined(RN_UNIX_LIKE)
109 pthread_t mThreadHandle;
117 volatile bool mIsRunning;
118 volatile bool mTerminateCalled;
119 volatile bool mTerminateCalledNoReset;
121 static size_t mNumAllocated;
122 static size_t mNumActive;
void SetPreferredProcessor(int processor=kReplicaNetPreferredProcessorOSChoice)
static int CallThreadEntry(ThreadClass *thread_class)
void Begin(ThreadClass *threaded_class)
bool GetIsRunning(void) const
bool GetEverTerminated(void)
int GetPreferredProcessor(void)
Definition: ThreadClass.h:96
static int GetCurrentProcessorNumber(void)