nanogui: how to SendMessage?
Subject:
how to SendMessage?
From:
ShenChong ####@####.####
Date:
19 Nov 1999 02:07:25 -0000
Message-Id: <3834AF54.16AAF958@term.star.com.cn>
I want to port Microwindows to our multi-thread use.
In "MicroSoft" Win32 API, SendMessage to other thread will suspend
self.
If there are two threads: A and B, A send message to B(call SendMessage)
and at the same time B call SendMessage to send message to A. A and B
both suspend themselves.There is a deadlock.
How "MicroSoft" solves it? Does anybody know?