summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/os.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-07-22 11:12:35 +0000
committerBenny Prijono <bennylp@teluu.com>2009-07-22 11:12:35 +0000
commita7ef07a46af14800cffbebc0fc222c60b52b9e30 (patch)
tree9b16c37edc24f39a2f638220b4bc44f7952a1827 /pjlib/include/pj/os.h
parentf88b32e7c12313215b541fc6f1b24ae81da62632 (diff)
Ticket #922: Option to enable mutex related logging to assist troubleshooting concurrency problems
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2843 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/os.h')
-rw-r--r--pjlib/include/pj/os.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/pjlib/include/pj/os.h b/pjlib/include/pj/os.h
index 38eb8ea6..e1d3c485 100644
--- a/pjlib/include/pj/os.h
+++ b/pjlib/include/pj/os.h
@@ -675,11 +675,7 @@ PJ_DECL(pj_status_t) pj_mutex_destroy(pj_mutex_t *mutex);
* @param mutex The mutex.
* @return Non-zero if yes.
*/
-#if defined(PJ_DEBUG) && PJ_DEBUG != 0
- PJ_DECL(pj_bool_t) pj_mutex_is_locked(pj_mutex_t *mutex);
-#else
-# define pj_mutex_is_locked(mutex) 1
-#endif
+PJ_DECL(pj_bool_t) pj_mutex_is_locked(pj_mutex_t *mutex);
/**
* @}