Microsoft KB Archive/100713: Difference between revisions

From BetaArchive Wiki
(stage2)
 
m (1 revision imported: importing part 2)
 
(No difference)

Latest revision as of 20:57, 16 July 2020

Support for Sleep() on Win32s

Q100713



The information in this article applies to:


  • Microsoft Win32s versions 1.0, 1.1, 1.2, 1.3, 1.30a, 1.3c





SUMMARY

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 query words: 1.00 1.20

Keywords : kbOSWin32s
Issue type :
Technology : kbWin32sSearch kbWin32s100 kbWin32s110 kbWin32s120 kbWin32s130 kbWin32s130a kbWin32s130c


Last Reviewed: January 16, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.