[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: 2.4.14 prerelease call for testing #2



"Brett @Google" <brett.maxfield@gmail.com> writes:

> On Thu, Feb 19, 2009 at 2:15 AM, Dieter Kluenter <dieter@dkluenter.de> wrote:
>>
>> Brett Maxfield <brett.maxfield@gmail.com> writes:
>>
>> > Doesnt "currently asm" indicate asm spinlocks.. Which can be unreliable. These can be even more unreliable with unpatched bdb?
>> >
>> > So perhaps you should try posix style semaphores.. Forcing posix/pthreads both at compile time and at run time..
>>
>> db-4.7.25 has been build with --enable-posixmutexes
>> --enable-pthread_api
>
> I use ../dist/configure --disable-java --enable-posixmutexes
> --with-mutex=POSIX/pthreads --enable-largefile --enable-cxx
>
> --with-mutex=POSIX/pthreads is important as it selects posix mutex at
> runtime, not compile time.

I don't think that this configure option is necessary on linux, as
libpthread is the default AFAIK.
 from configure --help:
  --with-mutex=MUTEX      Select non-default mutex implementation.

-Dieter

-- 
Dieter KlÃnter | Systemberatung
http://www.dpunkt.de/buecher/2104.html
sip: +49.180.1555.7770535
GPG Key ID:8EF7B6C6
53Â08'09,95"N
10Â08'02,42"E