|
-
Mar 20th, 2002, 12:42 PM
#1
Thread Starter
Frenzied Member
Sleep
Is there a maximum amount of time I can pass to the Sleep API function? Can I have it sleep for days?
-
Mar 20th, 2002, 01:01 PM
#2
I looked at everything I could find on Sleep and didn't see anything stipulating a maximum amount of time, but that doesn't mean there isn't any.
Having said that, however, I think you might want to take a look at SleepEx rather than Sleep.
The SleepEx function causes the current thread to enter a wait state until one of the following occurs:· An I/O completion callback function is called· An asynchronous procedure call (APC) is queued to the thread.· The time-out interval elapses
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
|