Skip to content
Snippets Groups Projects
Commit 0d2ee300 authored by Steve Murphy's avatar Steve Murphy
Browse files

OK. THis a DEBUG_THREADS situation.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e8c8bb4a
Branches
Tags
No related merge requests found
...@@ -87,7 +87,13 @@ int __ast_str_helper(struct ast_str **buf, size_t max_len, ...@@ -87,7 +87,13 @@ int __ast_str_helper(struct ast_str **buf, size_t max_len,
return res; 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, 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); 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, void ast_store_lock_info(enum ast_lock_type type, const char *filename,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment