Daemonize v0.1 - simple way to create cross-platform daemons

Philippe Sigaud via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Aug 31 22:13:20 PDT 2014


> I can (not must) have the form, the delegate params are tested independently
> from signal composition.

OK, good.

>> Is that the standard behavior for daemons in OSes?
>
> Most signals are simply ignored (except termination ones).

I see.

> Some signals could be sent without any reason: sighup or interrogate in
> windows.
> Ignoring most signals is a better strategy, the exception could be done for
> terminating signals - their default handlers should set `shouldExit` flag to
> true.

OK, I didn't know that.

>> http://dlang.org/library/std/concurrency/receive.html
>
> Good idea, it will be implemented.

Great!


More information about the Digitalmars-d-announce mailing list