[asterisk-bugs] [Asterisk 0011279]: [patch] trunk: rwlock tracking support (tracking and untracking static rwlock)

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 3 13:20:52 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11279 
====================================================================== 
Reported By:                ys
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11279
Category:                   Core/NewFeature
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0-beta1 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89376 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             11-17-2007 06:49 CST
Last Modified:              06-03-2008 13:20 CDT
====================================================================== 
Summary:                    [patch] trunk: rwlock tracking support (tracking and
untracking static rwlock)
Description: 
This patch based on mutex DEBUG_THREAD code.
Can be used to detect rwlock error and deadlock.

Second: make threadstorage rwlock untracked.
http://bugs.digium.com/view.php?id=0011207

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0011207 DEBUG_THREADLOCALS: lock in main/thread...
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-03-08 13:20  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 120065

_U  branches/1.6.0/

------------------------------------------------------------------------
r120065 | russell | 2008-06-03 13:20:51 -0500 (Tue, 03 Jun 2008) | 17
lines

Blocked revisions 120064 via svnmerge

........
r120064 | russell | 2008-06-03 13:26:51 -0500 (Tue, 03 Jun 2008) | 10
lines

Add lock tracking for rwlocks.  Previously, lock.h only had the ability to
hold tracking information for mutexes.  Now, the "core show locks" output
will output information about who is holding a rwlock when a thread is
waiting on it.

(closes issue http://bugs.digium.com/view.php?id=11279)
Reported by: ys
Patches:
      trunk_lock_utils.v8.diff uploaded by ys (license 281)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=120065 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-08 13:20  svnbot         Checkin                                      
06-03-08 13:20  svnbot         Note Added: 0087734                          
======================================================================




More information about the asterisk-bugs mailing list