[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another Semaphore question.



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