TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mario Semo
from: Ferdinando Cosentino
date: 1995-11-26 11:32:08
subject: _beginthread killthread

Hi Mario,

 JS>> As an alternative to _endthread, the return from the
 JS>> routine called with _beginthread does an implied endthread.

 MS> FYI:

 MS> using _endthread is the dirty way of termination. eq. if you have (in
 MS> C++) instances of objects, they are NOT destroyed. With return they are.

So, how do you communicate to a thread that it must stop itself?
Please, NO active polling, or other time-consuming activities...

 A risentirci...
  |\|ando

--- GoldED/2 2.42.G0614
* Origin: Sheila Point - Only for adult users (2:331/364.129)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809
@PATH: 331/364 301 341 332/403 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™.