TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Andrew Grillet
from: David Noon
date: 1999-01-08 19:47:10
subject: the PM message queue

In a message dated 01-06-99, Andrew Grillet said to Mike Ruskai about "the
PM message queue"

Hi Andrew & Mike,

 MR> [snip]
 HR> Since OS/2 1.1 exists a rule for PM programmers: a message is to
 HR> handle in 1/10s. If this is impossible the handing is to shift to
 HR> another thread. 

AG>And its best to assume for your current app:

AG>"If it would take 1/10 sec on your old 286 running OS/2 1.1 then ..."

AG>Not "if it would take 1/10 s on your pentium3 running Warp 5.5 ...".

Indeed, Peter Fitzsimmons recommended that any activity that could be
blocked from dispatch (on I/O, a mutex or whatever) should be done in a
background thread. This is sound advice. Even if the blockage is less than a
millisecond, it is dangerous to do it in the thread that is managing the
system input message queue, as the blockage could become a deadly embrace.

AG>Some of us are still running OS/2 1.3 on 286s. (I just ditched my
AG>last one in December. (Upgraded to a 486!))

My copy of 1.3 is on floppies, waiting for a 10-quid special on which to run
it. I just hope the floppies are still good.

Regards

Dave

___
 * MR/2 2.25 #353 * User-friendly: (adj.) trivialized, slow, incapable, and boring.

--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-717904) (2:440/4)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 635/444 506 728 639/252
SEEN-BY: 670/218
@PATH: 440/4 255/1 251/25 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™.