MCPcopy Create free account
hub / github.com/beefytech/Beef / ClearOldThreads

Method ClearOldThreads

IDEHelper/Compiler/BfCodeGen.cpp:711–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709}
710
711void BfCodeGen::ClearOldThreads(bool waitForThread)
712{
713 while (mOldThreads.size() != 0)
714 {
715 auto thread = mOldThreads[0];
716 if (waitForThread)
717 thread->Shutdown();
718 if (thread->mRunning)
719 return;
720
721 delete thread;
722 mOldThreads.RemoveAt(0);
723 }
724}
725
726void BfCodeGen::ClearBuildCache()
727{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
ShutdownMethod · 0.45
RemoveAtMethod · 0.45

Tested by

no test coverage detected