Re: prevent multiple start of app
- From: David W Noon <dwnoon@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 24 Feb 2006 16:19:34 GMT
On Friday 24 Feb 2006 09:40 in article <43fed487$1@xxxxxxxxxxxxxxxxx> of
comp.os.linux.development.apps, "Nils O. Selåsdal" wrote:
Well, sem_init isn't the same as sem_open. Though RH9 might be too old
for this, and process shared posix semaphores may have been added
later iirc.
POSIX semaphores have been process shareable since NPTL replaced
LinuxThreads a couple of years ago. They will do what the o.p. wanted
(i.e. to prevent multiple instances of an executable being run
concurrently).
--
Regards
Dave [RLU#314465]
======================================================
dwnoon@xxxxxxxxxxxxxxxxxxxxx (David W Noon)
Remove spam trap to reply via e-mail.
======================================================
.
- References:
- prevent multiple start of app
- From: reppisch
- Re: prevent multiple start of app
- From: "Nils O. Selåsdal"
- Re: prevent multiple start of app
- From: reppisch
- Re: prevent multiple start of app
- From: Larry I Smith
- Re: prevent multiple start of app
- From: reppisch
- Re: prevent multiple start of app
- From: "Nils O. Selåsdal"
- prevent multiple start of app
- Prev by Date: Re: Generating Profit
- Next by Date: Re: fork/execv - how to get errno to the parent
- Previous by thread: Re: prevent multiple start of app
- Next by thread: Re: prevent multiple start of app
- Index(es):