- cleanup

This commit is contained in:
2020-10-29 10:09:58 +02:00
parent 5450c155d9
commit 6554688cb7
8 changed files with 24 additions and 11 deletions
+7
View File
@@ -41,6 +41,8 @@ long SyncHelper::increment(long *value)
return OSAtomicIncrement32((int32_t*)value);
#elif TARGET_LINUX
return -1;
#else
return -1;
#endif
}
@@ -66,6 +68,11 @@ uint64_t ThreadHelper::getCurrentId()
// RPi builds want this!
return (uint64_t)(pthread_self());
#endif
#if defined(TARGET_ANDROID)
return (uint64_t)(pthread_self());
#endif
return 0;
}
// ------------------- TimeHelper ---------------
using namespace std::chrono;