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

Method Shutdown

IDEHelper/Compiler/BfCodeGen.cpp:559–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559void BfCodeGenThread::Shutdown()
560{
561 mShuttingDown = true;
562 if (mRunning)
563 mCodeGen->mRequestEvent.Set(true);
564
565 while (mRunning)
566 {
567 mCodeGen->mDoneEvent.WaitFor(20);
568 }
569}
570
571static void BFP_CALLTYPE RunLoopThunk(void* codeGenThreadP)
572{

Callers 3

~NetManagerMethod · 0.45
~BfCodeGenMethod · 0.45
ClearOldThreadsMethod · 0.45

Calls 2

WaitForMethod · 0.80
SetMethod · 0.45

Tested by

no test coverage detected