Re: prevent multiple start of app



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.
======================================================

.