Re: Ensuring that a daemon runs as a single instance
- From: markhobley@xxxxxxxxxxxxxxxxxxxxxxxx (Mark Hobley)
- Date: Sun, 22 Jan 2006 01:08:24 GMT
Pascal Bourguignon <spam@xxxxxxxxxxxxxxxx> wrote:
> If you want to avoid the file system, you can use some IPC to do it.
That's the bit that I am trying to learn.
> - Using a semaphore identified by an "absolute" key,
Ok, I will read up on this. Is there a simple example somewhere?
> Since in general you need some means to communicate with the daemon
> anyways, the presence of the mean of communication indicates the
> presence of the daemon.
Thats the next bit that I wish to learn.
I would like to use some sort of shared memory to communicate with the daemon,
as opposed to sockets.
Regards,
Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Telephone: (0121) 247 1596
International: 0044 121 247 1596
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/
.
- Follow-Ups:
- Re: Ensuring that a daemon runs as a single instance
- From: Pascal Bourguignon
- Re: Ensuring that a daemon runs as a single instance
- References:
- Ensuring that a daemon runs as a single instance
- From: Mark Hobley
- Re: Ensuring that a daemon runs as a single instance
- From: Pascal Bourguignon
- Ensuring that a daemon runs as a single instance
- Prev by Date: Re: Ensuring that a daemon runs as a single instance
- Next by Date: Re: Ensuring that a daemon runs as a single instance
- Previous by thread: Re: Ensuring that a daemon runs as a single instance
- Next by thread: Re: Ensuring that a daemon runs as a single instance
- Index(es):
Relevant Pages
|