TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Will Honea
from: Vitus Jensen
date: 1999-10-13 01:47:01
subject: VAC 3.0 Subsystem Librar

Hello Will,

09.10.99 22:58, Vitus Jensen wrote a message to Will Honea:

[...DosWaitEventSem in Exitlist...]

 VJ> He, there is DosGetInfoBlocks and the PIB holds a bit saying "the
 VJ> current process is in exit list processing". I will check this
 VJ> flag.

This did the job, no more hangs.

But I'm uncertain whether I'm testing the correct bit.  Read the
documentation:

===============================================
  pib_flstatus (ULONG) 
     Process' status bits. 

     A value of 1 in this bit flag indicates that the current process is in
exit 
     list processing. 
=================================================

pib_flstatus is indeed bit coded, I've seen 0x10 during normal processing and
0x17 in the Exitlist.
I'm now testing Bit 0, when this bit is set exitlist processing is assumed and 
no waiting will occur.  Do I test the correct bit???

C-x C-s
    Vitus

--- Sqed/rexx 440:
* Origin: Those who can, do. Those who can't, supervise! (2:2474/424.1)

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