Ralf S. Engelschall wrote:
>
>
> Mutex/Semaphore:
> o 4.2BSD-style flock() on temporary file
> o SVR4-style fcntl() on temporary file
> o SysV IPC semget()
>
> and send me your results.
>
One thing I noticed that if all 3 mutexes are available, fcntl()
will be chosen (since it's the last). The rub is that fcntl() is
slow and expensive (well, it _can_ be) on systems running NFS.
I would suggest the preferences be:
semget()
flock()
fcntl()
thus fcntl() is chosen only as a last resort... Make sense?
--
===========================================================================
Jim Jagielski ||| [EMAIL PROTECTED] ||| http://www.jaguNET.com/
"That's no ordinary rabbit... that's the most foul,
cruel and bad-tempered rodent you ever laid eyes on"
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]