TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: James Mckenzie
date: 1995-10-29 11:26:10
subject: Re: _beginthread killthread

-=> Quoting Phil Crown to James Mckenzie <=-

 PC> Suicide and _endthread() are synonymous in this case.

I agree.  Are you trying to end the thread within the thread, or
external to the thread?  I would suggest that the former occur
rather than the latter.

 PC> _endthread() is called within the thread itself, which will work, but
 PC> the thread needs to be told somehow to call _endthread().

It can be embedded.  And it is called when the thread is terminated.

 PC> Calling _endthread() outside the thread I want to kill... will
 PC> probably produce unpredicitable results.

Definately.

Jim



... "What?!? This isn't the Files section?!?"
--- Blue Wave/Max v2.12 [NR]
* Origin: Druid's Grove BBS -- 914-876-2237 (1:2624/306)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 2624/306 270/101 712/515 711/808 809 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™.