mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 06:18:02 +00:00
win32 has no pthread_self
This commit is contained in:
parent
ec2694bf0d
commit
0c03bb2ff2
@ -98,7 +98,11 @@ void locking_callback(int mode, int i, const char* file, int line)
|
||||
|
||||
static unsigned long id_callback(void)
|
||||
{
|
||||
#if defined(WIN32)
|
||||
return ((unsigned long)GetCurrentThreadId());
|
||||
#else
|
||||
return ((unsigned long)pthread_self());
|
||||
#endif
|
||||
}
|
||||
|
||||
LockedPageManager LockedPageManager::instance;
|
||||
|
Loading…
Reference in New Issue
Block a user