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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-01 05:51:03 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed00.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: Unix-daemons in Ada Date: 01 Jul 2001 14:41:39 +0200 Organization: ESN - EDV-Beratung, Sicherheit, Netzbetreuung Message-ID: <87sngg3jp8.fsf@520075220525-0001.dialin.t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.t-online.com 993991810 06 1068 2VddSsQS8A03s 010701 12:50:10 X-Complaints-To: abuse@t-online.com X-Sender: 520075220525-0001@t-dialin.net Xref: archiver1.google.com comp.lang.ada:9291 Date: 2001-07-01T14:41:39+02:00 List-Id: Hi. I'm learning Ada and i tried to write a simple Unix daemon in Ada (a very simple web server). I want the main process, which is attached to a tty, to exit, something like if (fork()) exit 0; else do_real_work(); in C. I played a little bit with Adas Tasks, but i have no clue how to implement the above in Ada. -- Until the next mail..., Stefan.