mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 19:52:48 +00:00
OK. THis a DEBUG_THREADS situation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -87,7 +87,13 @@ int __ast_str_helper(struct ast_str **buf, size_t max_len,
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
#ifndef DEBUG_THREADS
|
||||
enum ast_lock_type {
|
||||
AST_MUTEX,
|
||||
AST_RDLOCK,
|
||||
AST_WRLOCK,
|
||||
};
|
||||
#endif
|
||||
void ast_store_lock_info(enum ast_lock_type type, const char *filename,
|
||||
int line_num, const char *func, const char *lock_name, void *lock_addr);
|
||||
void ast_store_lock_info(enum ast_lock_type type, const char *filename,
|
||||
|
Reference in New Issue
Block a user