"Jim Jagielski" <[EMAIL PROTECTED]> 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

Reply via email to