mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Merge branch 'tmp2'
This commit is contained in:
commit
bd1e54bc0b
@ -623,7 +623,10 @@ inline pthread_t CreateThread(void(*pfn)(void*), void* parg, bool fWantHandle=fa
|
|||||||
return (pthread_t)0;
|
return (pthread_t)0;
|
||||||
}
|
}
|
||||||
if (!fWantHandle)
|
if (!fWantHandle)
|
||||||
|
{
|
||||||
|
pthread_detach(hthread);
|
||||||
return (pthread_t)-1;
|
return (pthread_t)-1;
|
||||||
|
}
|
||||||
return hthread;
|
return hthread;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user