From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:8243:: with SMTP id e64-v6mr1327625iod.130.1531861973522; Tue, 17 Jul 2018 14:12:53 -0700 (PDT) X-Received: by 2002:aca:eb15:: with SMTP id j21-v6mr803701oih.6.1531861973304; Tue, 17 Jul 2018 14:12:53 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!g2-v6no1301091itf.0!news-out.google.com!l67-v6ni1141itl.0!nntp.google.com!d7-v6no1287801itj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 17 Jul 2018 14:12:53 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.113.16.86; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 76.113.16.86 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7461ada5-9bc3-43f5-98b0-b2930d9145bc@googlegroups.com> Subject: Re: How to run a GNAT program without starting a terminal session From: Shark8 Injection-Date: Tue, 17 Jul 2018 21:12:53 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:53882 Date: 2018-07-17T14:12:53-07:00 List-Id: On Tuesday, July 17, 2018 at 3:07:30 PM UTC-6, Jerry wrote: >=20 > I'm not sure exactly what is meant by a daemon but I think it is a facele= ss program that runs in the background over an extended period of time. Min= e might satisfy that definition--it is faceless and runs until all of the s= everal "delay-beep" pairs are executed, then quits. My recommendation: use Ada's timing and tasking features. A lot of the cases I've seen where daemons are used/needed are because the = language [PHP in this case] didn't have any notion of TASKs and DELAYs -- r= ather frustrating to come across when it's so trivially easy in Ada.