Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5728 - Feature Request: Enable posix threads for db-3/db-4
Summary: Feature Request: Enable posix threads for db-3/db-4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL: http://www.sleepycat.com/docs/ref/bui...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-29 10:32 UTC by Nicholas Wourms
Modified: 2003-04-04 01:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Wourms 2002-07-29 10:32:41 UTC
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.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-29 16:32:08 UTC
Jon ?
Comment 2 Jon Nelson (RETIRED) 2002-07-29 16:43:40 UTC
Sure, why not?
Try it, build a complete system, and give it a go.
If it works, let us know. ;-)
Comment 3 Nicholas Wourms 2002-07-30 05:54:43 UTC
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.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-08 15:53:53 UTC
This can only be done with NGPT, or maybe NPTL if out, marking a later.
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:22:46 UTC
db fix
Comment 6 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:27:39 UTC
db fix