Support for Sleep() on Win32sLast reviewed: December 17, 1996Article ID: Q100713 |
The information in this article applies to:
The Win32 application programming interface (API) documentation indicates that Sleep() is supported on Win32s. It is important to note, however, that the behavior of Sleep() on Win32s is not the same as it is under Windows NT. Under Win32s, Sleep() calls Yield(). The Windows version 3.1 Yield() function yields only if the message queue is empty; therefore, Sleep() cannot be relied on to do anything. Use a PeekMessage() loop to do idle time processing.
|
Additional reference words: 1.00 1.10 1.20 1.30 1.30a 1.30c
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |