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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user