comp.lang.ada
 help / color / mirror / Atom feed
From: Stefan Nobis <stefan@snobis.de>
Subject: Re: Unix-daemons in Ada
Date: 01 Jul 2001 16:35:34 +0200
Date: 2001-07-01T16:35:34+02:00	[thread overview]
Message-ID: <87ofr43efd.fsf@520075220525-0001.dialin.t-online.de> (raw)
In-Reply-To: 3B3F2F39.50BAF3CF@worldnet.att.net

James Rogers <jimmaureenrogers@worldnet.att.net> 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.



  reply	other threads:[~2001-07-01 14:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-01 12:41 Unix-daemons in Ada Stefan Nobis
2001-07-01 14:07 ` James Rogers
2001-07-01 14:35   ` Stefan Nobis [this message]
2001-07-01 17:20     ` James Rogers
2001-07-03 20:48       ` Stefan Skoglund
2001-07-03 22:39         ` Larry Kilgallen
2001-07-06 14:15           ` Tarjei T. Jensen
2001-07-06 17:05             ` Larry Kilgallen
2001-07-06 22:33               ` Tarjei Tj�stheim Jensen
2001-07-13  7:51                 ` Maxim Reznik
2001-07-01 19:51 ` Florian Weimer
2001-07-01 21:47 ` David C. Hoos, Sr.
2001-07-02 19:18   ` Stefan Nobis
2001-07-02 20:16     ` David C. Hoos
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox