TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Andrew Clegg
from: Mike Bilow
date: 1995-03-24 19:08:40
subject: DosKillThread useable?

MB> This is all true.  DosKillThread() sounds like something that should
 MB> be in the INTERCAL language, which augments "goto" with the much
 MB> worse "comefrom" and the utterly amazing
"ReturnFromOtherFunction()."

 AC> This is going to sound like such a stupid question -- 
 AC> is there an OS/2 implementation of INTERCAL?

I hope not.  Maybe there is a Windows version.

 AC> I've *always* wanted to try it.

No, you really don't.

 AC> I mean, it has such great 
 AC> possibilites; you could spawn new threads by having 
 AC> several comefroms from the same label, for example.

I suspect this would lead to a race condition every time it was invoked.

 AC> I hadn't come across ReturnFromOtherFunction() though, 
 AC> how does that work? Pass the return value of a 
 AC> different function?

I don't know.  I assume it works about like DosKillThread().

-- Mike


--- Maximus/2 2.02
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 105/42 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: 323/107 150 3615/50 396/1 270/101 105/103 42 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™.