PRB: Message Broadcasting Process Causes Deadlock (175332)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows NT 3.51
- the operating system: Microsoft Windows NT 4.0
This article was previously published under Q175332 SYMPTOMS
A deadlock results when a process waits on the handle of another process
that broadcasts a message.
CAUSE
This occurs when the waiting process is waiting in the thread that
processes the messages sent to the window (the main window thread).
RESOLUTION
To prevent this deadlock situation the waiting process can wait in a
separate thread, leaving the main window thread free to process window
messages, or use the MsgWaitForMultipleObjects() API in conjunction with
the dispatching messages.
Modification Type: | Major | Last Reviewed: | 3/16/2004 |
---|
Keywords: | kbinfo KB175332 |
---|
|