diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-24 02:15:04 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-24 02:15:04 +0000 |
commit | 6589a68fcb3c59e2e21bf1f3d5811bafbae625d5 (patch) | |
tree | 8a1bef4e69ad2bcb7f024f1893cd40ba688b4d1e /include | |
parent | 7dca0da7a5587bcd9474deee3a94a421a87deea2 (diff) |
don't use locks when reading usecounts (reading only, not writing)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5994 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/module.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asterisk/module.h b/include/asterisk/module.h index 4889550a1..b6a17982c 100755 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -210,9 +210,7 @@ void ast_unregister_atexit(void (*func)(void)); } #define STANDARD_USECOUNT(res) { \ - ast_mutex_lock(&localuser_lock); \ res = localusecnt; \ - ast_mutex_unlock(&localuser_lock); \ } |