Mutex status on Linux



Hello,

I would like to track the status of the mutexes of some threads to
find any possible lock. I'm searching for the equivalent of the smtx
column of mpstat (solaris version :( ) that would work on linux.

Thanks for any insight.

.



Relevant Pages

  • Re: msleep() on recursivly locked mutexes
    ... far more restricted then the capabilities of your mutexes. ... spinlocks are meant only to be used to lock up tiny pieces of code ... if it takes an interrupt while the current thread is holding a spinlock. ... To make it even more desireable I also stripped down the lockmgr() lock implementation, ...
    (freebsd-hackers)
  • Re: How to lock a record in a table using a query, VB6 and Oracle as a database
    ... Gaz wrote: ... Spent the last week searching for this solution here is my problem.... ... but if i view it i want to lock it so no one else can edit it. ... BeginTrans must eventually have either a CommitTrans or RollbackTrans ...
    (comp.databases.oracle.misc)
  • Re: msleep() on recursivly locked mutexes
    ... In my view there are two categories of mutexes. ... complicated to be a Global device than a private device. ... that the Global device, which is locked last, has to unlock its lock before ... devices (USB device drivers), we end up with less code/headache locking the ...
    (freebsd-arch)
  • Re: msleep() on recursivly locked mutexes
    ... In my view there are two categories of mutexes. ... complicated to be a Global device than a private device. ... that the Global device, which is locked last, has to unlock its lock before ... devices (USB device drivers), we end up with less code/headache locking the ...
    (freebsd-hackers)
  • Re: msleep() on recursivly locked mutexes
    ... far more restricted then the capabilities of your mutexes. ... spinlocks are meant only to be used to lock up tiny pieces of code ... That way mainline code can just use a spinlock to deal with small ... Maybe one should put some characters into blocking and non-blocking function ...
    (freebsd-hackers)