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

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Nov 17 07:28:21 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11279 
====================================================================== 
Reported By:                ys
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11279
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89376 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-17-2007 06:49 CST
Last Modified:              11-17-2007 07:28 CST
====================================================================== 
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

====================================================================== 

---------------------------------------------------------------------- 
 slavon - 11-17-07 07:28  
---------------------------------------------------------------------- 
strange...
you define type
typedef struct ast_mutex_lock_info ast_mutex_t;
then not use it
-			ast_mutex_t *lock;
+			struct ast_mutex_lock_info *lock; 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-17-07 07:28  slavon         Note Added: 0073841                          
======================================================================




More information about the asterisk-bugs mailing list