Subj : Semaphore
To   : Nick Andre
From : Tommi Koivula
Date : Sun Jan 17 2021 08:07 pm


17 Jan 21 12:50, Nick Andre wrote to Wilfred Van Velzen:

WV>>  ML> Is it possible to code in (in a future release) a mechanism to make
WV>>  ML> binkd exit (shut down) by seeing a semaphore in a given directory?
WV>>  ML> Internet Rex had this, when it saw "REXEXIT.NOW" in the semaphore
WV>>  ML> directory.
WV>>
WV>> I'm wondering why you would need that?

NA> I asked for the same thing over the years. I'm wondering why the arrogance
NA> insist that we kill things by Pid instead of telling the program to exit
NA> gracefully.

Maybe "to kill" is a bit wrong. Terminating a program with PID is "to ask to stop".

=== Cut ===
 17 Jan 20:11:39 [40589] BEGIN, binkd/1.1a-111/OS2 -sC -vv binkd_360.cfg
 17 Jan 20:11:39 [40589] created binkd_360.pid
 17 Jan 20:11:39 [40589] servmgr started
- 17 Jan 20:11:39 [40589] servmgr listen on *:24555
! 17 Jan 20:11:57 [40589] got signal #15.
 17 Jan 20:11:57 [40589] Closing server socket # 3
 17 Jan 20:11:57 [40589] bsy_remove_all: done
 17 Jan 20:11:57 [40589] unlinked `binkd_360.pid'
=== Cut ===

'Tommi

---
* Origin: rbb.fidonet.fi (2:221/1)