As of db2-2.4.14-4 (or -5), db2 isn't built in a way that it uses
spinlocks (to be thread-safe). The attached patch fixes this problem (but
only on Intel IA32, other platforms will have to be treated individually).
Created attachment 14106 [details]
Patcgh to use spinlocks on IA32 to be able to be used from a threaded application
*** Bug 56899 has been marked as a duplicate of this bug. ***
Is it still a problem in current db4?
I honestly don't know as I haven't used Berkeley DB by myself in years. Feel
free to close this one.