mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 17:28:14 +08:00
win build
This commit is contained in:
parent
f0d0859cb1
commit
2ddfa4db68
@ -309,7 +309,11 @@ public:
|
|||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
ThreadStorage::ThreadStorage() : id(getCurrentThreadId()), allowChildren(true), named(false), pthread_id(pthread_self())
|
ThreadStorage::ThreadStorage() : id(getCurrentThreadId()), allowChildren(true), named(false)
|
||||||
|
#ifndef _WIN32
|
||||||
|
, pthread_id(pthread_self())
|
||||||
|
#endif
|
||||||
|
|
||||||
{
|
{
|
||||||
expired = ATOMIC_VAR_INIT(false);
|
expired = ATOMIC_VAR_INIT(false);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user