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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cceb19dbd864b8da X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-01 07:41:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!newsfeed.hanau.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Stefan Nobis Newsgroups: comp.lang.ada Subject: Re: Unix-daemons in Ada Date: 01 Jul 2001 16:35:34 +0200 Organization: ESN - EDV-Beratung, Sicherheit, Netzbetreuung Message-ID: <87ofr43efd.fsf@520075220525-0001.dialin.t-online.de> References: <87sngg3jp8.fsf@520075220525-0001.dialin.t-online.de> <3B3F2F39.50BAF3CF@worldnet.att.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 993998410 00 9948 9sedScDTSyAzY5 010701 14:40:10 X-Complaints-To: abuse@t-online.com X-Sender: 520075220525-0001@t-dialin.net Xref: archiver1.google.com comp.lang.ada:9297 Date: 2001-07-01T16:35:34+02:00 List-Id: James Rogers writes: > This is much easier using tasks in Ada. In the Ada task there will be > no forking. Instead, a task will be created to handle the work. Yes, but i want the started daemon to become unassociated to the terminal from which it is started. But in Ada the main task waits until all other tasks have terminated so the daemon is always associated with the controlling terminal from which the daemon was started. I want a daemon with no controlling terminal. How do i do this in Ada? > Using the dynamic task approach you would do the following: That i did understand. The problem is not how to distribute the duties to tasks but to become undependent from the controlling terminal. -- Until the next mail..., Stefan.