TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Laurence Lane
from: Krister Hansson-Renaud
date: 1996-03-28 20:03:48
subject: shutdown

LL> Please point me to any info on doing an orderly shutdown in the above
 LL> sceneio.

If you are using C then try signal(SIGTERM, MySignalHandler); Then
MySigHandler() is called when the thread is terminated by OS/2.  Otherwise
use DosSetExceptionHandler() and catch XCPT_ASYNC_PROCESS_TERMINATION. 
More information can be found in Control Program Guide and Reference
(CPREF.INF)

---
(2:201/274.64)
* Origin: Microsoft's Motto:"We're the leaders, wait for us!"
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 201/274 200 2104 109/347 18 13/25 396/1 270/101 712/515 711/808 809
@PATH: 711/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™.