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:
parent
177b5b7254
commit
b2ab1b1f62
7 changed files with 36 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue