Pier Fumagalli wrote: > > "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)... >
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 [|] [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
