If i have an application with several threads running, if one of them executes a Sleep(1000); will that cause the entire program to sleep or just the executing thread? This is standard windows threading.
This is a discussion on Sleep effecting the entire program or just one thread? within the C++ Programming forums, part of the General Programming Boards category; If i have an application with several threads running, if one of them executes a Sleep(1000); will that cause the ...
If i have an application with several threads running, if one of them executes a Sleep(1000); will that cause the entire program to sleep or just the executing thread? This is standard windows threading.
just the thread you call it in.
Try to help all less knowledgeable than yourself, within
the limits provided by time, complexity and tolerance.
- Nor