TIP: Click on subject to list as thread! ANSI
echo: binkd
to: Marc Lewis
from: Tommi Koivula
date: 2021-01-18 12:13:00
subject: Semaphore

Hi Marc.

17 Jan 21 14:35:46, you wrote to Wilfred van Velzen:

 ML>> Is it possible to code in (in a future release) a mechanism to make
 ML>> binkd exit (shut down) by seeing a semaphore in a given directory?
 ML>> Internet Rex had this, when it saw "REXEXIT.NOW" in the semaphore
 ML>> directory.

 WvV>> I'm wondering why you would need that?

 WvV>> And doesn't OS2 have a way to kill running software? In linux you
 WvV>> can 'kill' it by PID or program name, so you don't need a
 WvV>> semaphore file for this kind of mechanism...

 ML> I'll do some command digging and see; there probably IS a type of 'kill' command built into OS/2 that
 ML> I've never utilised.

There is an old but nice Go!

=== Cut ===
GO! v1.5 - (c) 1993-95 by Carsten Wimmer 

Usage: go  [argument]

Available commands:

   -pl   Process List        -k    Kill a Process
   -lpl  Process List with Paths      -ka   Kill all Instances
   -tl   Thread List                  -cp   Check for a Process
   -sl   Semaphore List               -j    Jump to a Process
   -sm   Shared Memory                -at   Application Type
   -ml   Module List                  -ut   Machine Uptime
   -mt   Module Dependency Tree       -df   Free Space on Drives

   -lh   Long, detailed Help
   -la   GO! License Agreement
=== Cut ===

'Tommi

---
                                                                                                                      
* Origin: IPv6 Point at [2001:470:1f15:cb0:2:221:1:1] (2:221/1.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™.