Lines Matching refs:res
167 MW_DWORD res = ::SetThreadIdealProcessor(thread, cpuCore);
168 MT_USED_IN_ASSERT(res);
169 MT_ASSERT(res != (MW_DWORD)-1, "SetThreadIdealProcessor failed!");
177 res = ::ResumeThread(thread);
178 MT_USED_IN_ASSERT(res);
179 MT_ASSERT(res != (MW_DWORD)-1, "ResumeThread failed!");
190 MW_BOOL res = CloseHandle(thread); in Join() local
191 MT_USED_IN_ASSERT(res); in Join()
192 MT_ASSERT(res != 0, "Can't close thread handle"); in Join()
235 MW_DWORD res = ::SetThreadIdealProcessor( ::GetCurrentThread(), cpuCore);
236 MT_USED_IN_ASSERT(res);
237 MT_ASSERT(res != (MW_DWORD)-1, "SetThreadIdealProcessor failed!");