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

Method AddWorkerThread

BeefySysLib/platform/win/Platform.cpp:759–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

757 }
758
759 void AddWorkerThread()
760 {
761 AutoCrit autoCrit(mCritSect);
762
763 if (mShuttingDown)
764 return;
765
766 DWORD threadId;
767 HANDLE handle = ::CreateThread(NULL, 0, WorkerProcThunk, (void*)this, 0, &threadId);
768 mWorkerThreads.Add(handle);
769 }
770
771 void EnsureInitialized()
772 {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected