Win32s Message Queue Checking (97918)



The information in this article applies to:

  • Microsoft Win32s 1.1
  • Microsoft Win32s 1.2

This article was previously published under Q97918

SUMMARY

Win32-based applications that are designed to run with Win32s need to check the message queue through a GetMessage() or PeekMessage() call to avoid locking up the system. With Windows NT this is not a problem, because the input model is desynchronized. That is, each thread has its own input event queue rather than having one queue for the entire system. In a synchronous input model, one application can block all of the others by allowing the single system queue to fill up with its messages. With Windows NT, an application that lets its input queue fill up will not affect other applications.

For more information, please see chapter 3 of the "Win32s Programmer's Reference".

Modification Type:MajorLast Reviewed:10/30/2003
Keywords:KB97918