Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul Stewart Newsgroups: comp.sys.acorn.programmer Subject: Watchdog and closing application child tasks Date: Sun, 15 Mar 2026 01:07:20 GMT Organization: A noiseless patient Spider Lines: 20 Message-ID: <20deb3b95c.Paul@phorefaux> Injection-Date: Sun, 15 Mar 2026 01:10:58 +0000 (UTC) Injection-Info: dont-email.me; posting-host="a01f7f168d465b154dd07b2f6300415c"; logging-data="789836"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Msrdn4pSvPWLN4sugGKiJ" User-Agent: Messenger-Pro/9.00 (MsgServe/9.00) (RISC-OS/4.42) NewsHound/v1.54 Cancel-Lock: sha1:hmLc8J1Kt3NrzeyF4PBljNhFHfk= X-Editor: EmailEdit 2.04 Xref: csiph.com comp.sys.acorn.programmer:6619 Hi all, Does the system watchdog broadcast a specific message to terminate an application? The reason for asking is I have an application written in BASIC that spawns a couple of child tasks. As part of the close down routine it does close down any open child tasks. This appears to be working fine. If I quit the program whilst child task is running, then the open child task quits, as expected, same as if I quit my application from Task display/Task manager. However when the task is closed via system watchdog(Alt-Break), the main task is closed, but not any open child tasks. I am therefore wondering if there is a specific message I need to listen out for so I can close the child tasks too? -- Paul Stewart Sent from A9home running RISC OS 4.42