Subj : Re: Semaphore
To   : Nick Andre
From : Rob Swindell
Date : Sun Jan 17 2021 12:41 pm

 Re: Re: Semaphore
 By: Nick Andre to Wilfred Van Velzen on Sun Jan 17 2021 12:50 pm

> WV> And doesn't OS2 have a way to kill running software? In linux you can
> WV> 'kill it by PID or program name, so you don't need a semaphore file for
> WV> this kind mechanism...
>
> When your beloved Linux needs to shut down, why does it not just immediately
> signal the system to power off? Why does it get busy terminating services?

Programs can handle signals (e.g. SIGTERM) gracefully. This is pretty standard for *nix programs and BinkD is no exception. This is what the exitsig() function in binkd's breaksig.c already does.
--
                                           digital man

Synchronet/BBS Terminology Definition #18:
DCD = Data Carrier Detect