Re: [APC-DEV] Spinlock code

[email protected] (Rasmus Lerdorf) Mon, 11 Dec 2006 13:36:20 -0800
Newsgroups php.apc.dev
Message-ID <[email protected]>
Jacques Marneweck wrote:
> Brian Shire wrote:
>> I'd be interested in doing this, assuming no one wants to jump up and
>> do it first.  I have pthread mutex locking support that I would like
>> to finish up first. (as a better alternative to the futex locking).
>>
> Hi Guys,
> 
> Will we be able to choose a different locking scheme via the php.ini?

I think it will have to continue to be a compile-time option in order to
avoid introducing the overhead of a runtime check on each and every lock.

-Rasmus