Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File11.5.9.1 Shutdown in MultiTOS TOS Under MultiTOS, programs must do the following to support the Shutdown mechanism: . Call shel_write (with sh_wdoex= 9), to inform the AES that they understand the AP_TERM message . Terminate on receipt of an AP_TERM message, or send AP_TFAIL Note: MultiTOS sends the AP_TERM message here only to those processes that explicitly understand AP_TERM. As hardly any programs exist at present that dismiss a corresponding shel_write, an implementation such as this in MagiC would not give the desired result. Hence a different procedure was chosen, in which the AP_TERM message is sent to all running applications. See also: Shutdown in MagiC shel_write Shutdown at the receiver Shutdown at the initiator