1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Added NoThreadExitWait Rt option for DLLs

This commit is contained in:
Brian Fiete 2020-09-01 16:22:48 -07:00
parent 177b5b7254
commit b2ab1b1f62
7 changed files with 36 additions and 5 deletions

View file

@ -158,7 +158,10 @@ static void BF_CALLTYPE CStartProc(void* threadParam)
}
void BfInternalThread::WaitForAllDone()
{
{
if ((gBfRtFlags & BfRtFlags_NoThreadExitWait) != 0)
return;
while (gLiveThreadCount != 0)
{
// Clear out any old done events