Since linux has a wonderful pthreads library, why not enable posix mutexes for enhanced performance? This would be obtained by adding the line "--enable- posixmutexes" to the ebuild.
Jon ?
Sure, why not? Try it, build a complete system, and give it a go. If it works, let us know. ;-)
Well so far, I'm experiencing some "bugs" during the configury stage. The symbols necessary are defined in the pthread library and header, but the autoconf macro isn't linking against -lpthread eventhough it recognized that I have -lpthread. Therefore, it is currently generating a false negative for posixmutexes. Fortunately, I had to hack the various db packages recently for the Cygwin port, so I'm intimately familiar with the configure scripts for db. I'll report back when I have this resolved.
This can only be done with NGPT, or maybe NPTL if out, marking a later.
db fix