1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 00:03:45 +00:00

1. Fixed compiler warning

2. Updated chain, so that thread id is saved at creation time
3. Updated Make_AbsolutePath() per IOActive
This commit is contained in:
Bryan Roe
2020-10-13 16:44:38 -07:00
parent 17a487af68
commit 01bae0f5e5
5 changed files with 72 additions and 45 deletions

View File

@@ -1925,6 +1925,12 @@ void *ILibCreateChainEx(int extraMemorySize)
RetVal->Timer = ILibCreateLifeTime(RetVal);
#if defined(WIN32)
RetVal->ChainThreadID = GetCurrentThreadId();
#else
RetVal->ChainThreadID = pthread_self();
#endif
return RetVal;
}