We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c289fee commit dca97feCopy full SHA for dca97fe
src/xrCore/Threading/ttapi.cpp
@@ -47,7 +47,7 @@ static DWORD WINAPI ttapiThreadProc(void* lpParameter)
47
// Msg( "0x%8.8X Fast %u" , dwId , i );
48
goto process;
49
}
50
- __asm pause;
+ _mm_pause();
51
52
53
// Moderate
@@ -124,7 +124,7 @@ int ttapi_Init(const processor_info& pi)
124
{
125
if (!dwDummy)
126
goto process1;
127
128
129
process1:
130
QueryPerformanceCounter(&liEnd);
@@ -220,7 +220,7 @@ void ttapi_Run()
220
// Waiting task queue to become empty
221
// Start = __rdtsc();
222
while (ttapi_queue_size.size)
223
224
// Stop = __rdtsc();
225
// Msg( "Wait: %u ticks" , Stop - Start );
226
0 commit comments