I'm making a win32 program in C.
When you have multiple threads running, and one of the threads is waiting for an event (using WaitForSingleObject()
for example), does that thread still get its full CPU time slice?
Stated differently, does the operating system know that the thread doesn't need its time slice until one of the events is signalled?