Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/d3dx10_43_main.c:
if (!InterlockedDecrement(&thread_pump->processing_count))
RtlWakeAddressAll((void *)&thread_pump->processing_count);
}
if (!(v = thread_pump->processing_count))
break;
RtlWaitOnAddress((void *)&thread_pump->processing_count, &v, sizeof(v), NULL);
- }
- AcquireSRWLockExclusive(&thread_pump->device_lock);
- list_move_tail(&list, &thread_pump->device_queue);
- thread_pump->device_count = 0;
- ReleaseSRWLockExclusive(&thread_pump->device_lock);
- while(!list_empty(&list))
Nitpick, whitespace.