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
Norco, CA WX: 64.1øF, 29.0% humidity, 2 mph SW wind, 0.00 inches rain/24hrs
--- SBBSecho 3.12-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|