TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: HERBERT ROSENAU
from: IVAN TODOROSKI
date: 1998-11-24 01:13:00
subject: the PM message queue

On Monday, 16 November 1998,
     HERBERT ROSENAU wrote to IVAN TODOROSKI about the PM message queue

 HR> I removed all quotes to become a little more room for the answer. :-)

        Good thinking! :)

 HR> Multitasking

 HR> The Multitasking/Threading is done by the kernel. The problem to
 HR> *show* it is the misbehavior of the single PM messagequeue.

  Well it isn't just the *showing* on the screen that stops :(

  You gave me an idea, and I made this REXX program:

  do forever
    call Beep 1000, 100
  end

  which, as you can see, just beeps like mad until you kill it.

  It obviously doesn't do any screen I/O, and in addition to that I
  started it in a minimized full-screen session.

     When I dragged windows around, the beeping simply stoped!

 HR> A simple! flow of the system event in full:

 HR> PM means pmshell.exe 1. instance
 HR> WPS means pmshell.exe 2. instance
 HR> GPI is a part of PM and does the primitive drawing of points, lines,
 HR> rectangles
 HR> on screen


system ->> PM -> WPS -> PM -> WPS -> GPI
        WPS ->> GPI
 HR>         :
 HR>         :
 HR>   WPS <- PM
  WPS ->> PM
 HR> :
 HR> :
 HR> :
 HR>  PM <- WPS
 HR> system <- PM

 HR> now can rhe next event go

  Thanks for this explanation.


 HR> To check the real multitasking do this:

 HR> start a program (e.g. e.exe or epm.exe) then

 HR> - open with double klick drive A: (insert a good diskette before!)
 HR> - change the focus to the program so quick as you can and klick on inside
 HR> the
 HR> edit window
 HR> - type some keys on your keyboard

 HR> You'll seen that your typeing results in some chars in the window
 HR> before the view of the drive is shown.

 HR> The WPS itself ist locked until the view is shown but the program
 HR> you has started before is ready for work.

 Tried this, and it works as you decribed it, but still there is a
 noticeable period when you cannot switch the focus to another window.

  Thanks for your reply!

                                                            - Ivan -

.!. I am Elvis of Borg. Thank you... Thank you very much........
--- Terminate 5.00/Pro [OS/2]
 þ TerMail/QWK þ  
* Origin: GET ALL YOUR FIDO HERE! telnet://bbs.docsplace.org (1:3603/140)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 635/444 506 728 639/252 670/218
@PATH: 3603/140 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™.