|
-
July 13th, 2005, 11:04 PM
#1
Sleep question
Do my other threads still run while I call sleep in the main thread? and, when I call sleep does my app still continue to receive messages?
-
July 13th, 2005, 11:36 PM
#2
Re: Sleep question
Hello,
If a thread is started before a call to sleep, performance of that thread will not be affected by Sleep command. But the thread calling the Sleep command will be stopped for the time mentioned. Messages will be pumped to the message queue but will be processed only after the application wakes up after Sleep command.
Regards.
Pravin.
14-07-2005.
-
July 13th, 2005, 11:42 PM
#3
-
July 13th, 2005, 11:46 PM
#4
Re: Sleep question
 Originally Posted by dave18285
Do my other threads still run while I call sleep in the main thread? and, when I call sleep does my app still continue to receive messages?
Also have a look at Using Sleep()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|