[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another Semaphore question.
- To: "Stanislav Malyshev a.k.a Frodo" <frodo(at-nospam)sharat.co.il>
- Subject: Re: Another Semaphore question.
- From: Oded Arbel <odeda-linux-il(at-nospam)betalfa.org.il>
- Date: Sun, 6 May 2001 10:21:45 +0000 (/etc/localtime)
- Cc: Linux-IL Mailing list <linux-il(at-nospam)cs.huji.ac.il>
- In-Reply-To: <Pine.LNX.4.30.0105031752460.5438-100000@frodo.sharat.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Thu, 3 May 2001, Stanislav Malyshev a.k.a Frodo wrote:
> OA>> One more semaphore question if you please - if I create a semaphoer set,
> OA>> and then leave it lying around and exit the process - will it stay in the
> OA>> system when no current process uses it ?
>
> Yes. This is one of the problems with semaphores. BTW, why not using file
> locking instead of it? It has much cleaner and richer semantics and almost
> none of the problems semaphores have.
I don't think its an option I have for the current implementation - it's
file IO, and should be much slower, right ?
Oded
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il