TIP: Click on subject to list as thread! ANSI
echo: binkd
to: Nick Andre
from: Tommi Koivula
date: 2021-01-17 20:07:00
subject: Semaphore

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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.