TIP: Click on subject to list as thread! ANSI
echo: os2
to: MIKE RUSKAI
from: Jonathan de Boyne Pollard
date: 1999-12-09 11:15:01
subject: DETACH

 MR> I'm not talking about the foreground boost.  The window boost is
 MR> completely separate from the foreground boost.  It apparently applies
 MR> to any program which has a graphical window, and is applied
 MR> independently of the foreground boost.  

I don't see any mechanism for the kernel to know whether or not a process has
a window.  I can see a mechanism where it can tell whether a process is
started as a PM process.  The type of the process has to be passed to the
kernel internally within DosStartSession(), simply so that the PIB in user
space for the new process can be initialised with that type.  The kernel could 
check, at the point of creation of the process, for SSF_TYPE_PM and set a
"window boost" flag bit in the process control block.  But if this is indeed
the case (Where is Dennis Tonn when we need him? (-:), this is the only case
where the kernel itself is concerned in any way with the process type value. 
(And I find myself siding with Ivan on this.  The kernel should not be doing
this sort of thing.)

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
138/2
397/1
* Origin: JdeBP's point, using Squish (2:257/609.3)

SOURCE: echoes via The OS/2 BBS

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™.