| 2291 | } |
| 2292 | |
| 2293 | BFP_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. |
no outgoing calls
no test coverage detected