Главная страница | назад





Article #16902: Yielding cycles to other applications

 Question and Answer Database

FAQ1902D.txt   Yielding cycles to other applications
Category   :Windows API
Platform    :All
Product    :All 32 bit  

Question:
How can I yield to the system during a lengthy operation 
without allowing message processing to continue in my 
application?


Answer:
Call the Windows API Sleep() function passing zero as 
a parameter.

7/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99