[AWS] *NIX daemons using AWS
Peter Fedorow
fedorowp at gmail.com
Sat Jul 23 03:46:50 CEST 2005
I figure I should clarify what I'm asking.
How much of what should be done when writing a *nix daemon in C,
Pascal, or Perl, applies to writing one in Ada?
How should a process written in Ada fork?
Are there any already written libraries or code examples to do this?
It seems like a fairly commonly task. I searched on Google, but I
couldn't find anything relevant.
Regards,
Peter
On 7/14/05, Peter Fedorow <fedorowp at gmail.com> wrote:
> From The Linux Daemon Writing HOWTO:
> ---
> When a daemon starts up, it has to do some low-level housework to get
> itself ready for its real job. This involves a few steps:
>
> * Fork off the parent process
> * Change file mode mask (umask)
> * Open any logs for writing
> * Create a unique Session ID (SID)
> * Change the current working directory to a safe place
> * Close standard file descriptors
> ---
>
>
> On 7/14/05, Jacob Sparre Andersen <sparre at nbi.dk> wrote:
> > Peter Fedorow wrote:
> >
> > > Does AWS (or GNAT) have any resources to facilitate
> > > writing *NIX daemons?
> >
> > In what sense? Most of my AWS applications run as unix
> > daemons.
More information about the AWS
mailing list