TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Burgett
from: Daniel Lynes
date: 1996-09-21 01:45:04
subject: DosWaitThread

Hello Mike!

20 Sep 96 15:32, Mike Burgett wrote to Daniel Lynes:

 MB> The above doesn't track with the docs on DosWaitThread, which
 MB> claims it takes a PTID, not a TID (a pointer to, instead of pass

I wasn't looking at the docs when I typed that in.

DosWaitThread( &tid, PERIOD ) ;

 MB> The tib is the thread info block, but the thing I wrote above is

Oops.  Oh well...I was close.  More or less the same meaning...just not the
same wording. :(

 MB> I don't want to kill it, I want to wait until it's finished
 MB> processing, so that it doesn't get killed when thread 1 exits.
 MB> It will die normally when it's done, I just want to wait for that
 MB> to happen...

Ah, ok.  If I remember correctly, there's a few different predefined
periods you can choose.

1.  Until the thread is finished.
2.  Manually specified period.
3.  Immediately.

Or, something similar.  The one that you want is #1, until the thread is
finished.  If I had more time right now, I'd look it up for you, but I'm
quite tired, and I still need to get up in 5-1/2 hours for work.

Daniel

--- GoldED/2 2.42.G0615+
* Origin: Enitharmon/2 Beta Home Site 604-527-0195 (1:153/8028)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 153/8028 831 800 270/101 712/515 711/808 934

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