I started adding robust posix mutexes support to rpm the day I read
this posting:
http://lkml.org/lkml/2006/10/21/183
Here is a patch (against db-4.5.20, other versions of Berekeley DB
are likely extremely
similar) to handle locked mutexes left over from rpm application
abnormal exit
On Jun 6, 2007, at 12:33 PM, Ralf S. Engelschall wrote:
Jeff, small hint: pthread__np(3) functions are non-portable and
not
standard Pthread API additions. If you want to use them and not break
on lots of platforms you at least have to wrap their usage with some
Autoconf-based