Anthony Howe wrote: > > > flock is used on FreeBSD by default... flock requires that chmod be > > done on the lock in the child init > > As an aside, why is flock() used on FreeBSD? It has SysV like mutexes > and POSIX ones too (at least in 4.8) - I may sound unsure cause I've > only recently switched platforms from Linux to FreeBSD just to be different.
Support for Posix sems was a "somewhat" new addition. SysV sems were also not guarateed to be present (this is all old stuff by the way, and inherited from 1.3)... > > > at Apache 2.0.48-dev, you have to do the chmod() on the lock file, like > > mod_ssl does in that branch > > OK. Is there an API that returns what the APR_LOCK_DEFAULT mutex will be? > Check out apr_proc_mutex_name() and apr_proc_mutex_defname() -- =========================================================================== Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order will lose both and deserve neither" - T.Jefferson
