Hallo mark!
18.06.2018 23:51, mark lewis schrieb an Torsten Bamberg:
i requested disk based semaphores like this a several years ago (10+
IIRC) but was met with strong opposition... why? because binkd
originates on *nix and they just don't see the need for these types of semaphores as used on DOS systems...
Well, the orginal IBM concept of semaphores and pipes is very different compare
to a file-triggerd shutdown mechanism.
A semaphore triggerd binkd will be the best possibility, but I know it is very hard to stuck it into the binkd-sourcecode, especially on differnet mechanisms with ArcaOS/Ecomstation/Warp4-3 etc. Also most of the programmers today do not even know about semaphores.
On unix-systems I've got the control of a running instance by the pid(file) with sysrc. Starting and closing tasks/processes is implemented by default.
Because of this, a 'simple' daemon exit mechanism for non unix/linux os systems
might be much easier to implement.
)\/(ark
Bye/2 Torsten
... MAILBOX01: up 6d 22h 02m load: 34 proc, 130 threads (tbupv1.0)
--- GoldED+ 1.1.5-17
* Origin: DatenBahn BBS Hamburg (2:240/5832)