| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | the PM message queue |
Original from Mike Ruskai to Denis Tonn on 11-16-1998
Original Subject: the PM message queue
---------------------------------------
DT> WinSendMsg is used to deliver the messages (events) to the
DT> application queue. WinSendMsg will cause a wait for the application to
DT> return before continuing.
DT> There is also a WinPostMsg API call that does not "wait" but just
DT> places the event on the application's input queue and continues. PM
DT> does not use this API to deliver events to applications.
DT> Take a look at the PM programmer's reference and pay particular
DT> attention to the above 2 API's. That is the core of the whole
DT> difference between a synchronous and an asynchronous design.
MR> It just occurred to me to ask. Would it be possible to patch PM to use
MR> WinPostMsg instead of WinSendMsg? They both return four bytes, and take
MR> the exact same parameters.
MR>
MR> I'm sure there would be nasty side effects, but it'd be interesting to try.
I already tried it (a long time ago). The "side effects" were
immediate and far reaching.. IE: the system was totally broke..
There are a lot of other places in PM that assume a synchronous
model. It's not a simple "patch".
Denis
All opinions are my very own, IBM has no claim upon them
.
.
.
--- Maximus/2 3.01
* Origin: T-Board - (604) 277-4574 (1:153/908)SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/444 506 728 639/252 670/218 @PATH: 153/908 8086 800 140/1 396/1 633/260 635/506 728 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.