apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pier Fumagalli <p...@betaversion.org>
Subject Re: cvs commit: apr/dso/unix dso.c
Date Mon, 25 Mar 2002 22:53:47 GMT
"Jim Jagielski" <jim@jaguNET.com> wrote:

> Pier Fumagalli wrote:
>> 
>>> (IME, pthread-based locks tend to be the fastest, but not many platforms
>>> support that.)
>> 
>> IME -> In My Experience ??? :) how about semaphores against file locks?
>> 
> 
> Sems are faster there too, but have the nasty tendency to leak if there
> are core dumps and cleanups don't occur :(

Craps... :( I was looking into the sem_.... set of functions just to see how
fast they were and how much code there is on Darwin supporting them (there's
just a sys/semaphore.h and references to the functions in libSystem.B.dylib,
but no documentation whatsoever)...

    Pier


Mime
View raw message