apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: cvs commit: apr/dso/unix dso.c
Date Tue, 26 Mar 2002 12:39:35 GMT
Pier Fumagalli wrote:
> 
> "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)...
> 

Yeah... I'm checking out the actual Darwin code myself. To be honest,
I was surprised and the lack of support for some basic SysV sem functionality
in Darwin's implementation... 

-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson

Mime
View raw message