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

Function BfpThread_Resume

BeefySysLib/platform/win/Platform.cpp:2293–2304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2291}
2292
2293BFP_EXPORT void BFP_CALLTYPE BfpThread_Resume(BfpThread* thread, BfpThreadResult* outResult)
2294{
2295 DWORD suspendCount = ::ResumeThread((HANDLE)thread);
2296 if (suspendCount == (DWORD)-1)
2297 {
2298 int error = GetLastError();
2299 BF_DBG_FATAL("Failed BfpThread_Resume");
2300 OUTRESULT(BfpThreadResult_UnknownError);
2301 return;
2302 }
2303 OUTRESULT(BfpThreadResult_Ok);
2304}
2305
2306
2307// Windows 7 SP1 is the first version of Windows to support the AVX API.

Callers 4

ResumeMethod · 0.50
StartInternalMethod · 0.50
StartMethod · 0.50
ResumeThreadsMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected