Go to the source code of this file.
Defines | |
#define | mutex_assert_no_err(expr) expr |
#define | mutex_init(m) mutex_assert_no_err(pthread_mutex_init(m, NULL)) |
#define | mutex_lock(m) mutex_assert_no_err(pthread_mutex_lock(m)) |
#define | mutex_unlock(m) mutex_assert_no_err(pthread_mutex_unlock(m)) |
#define | mutex_destroy(m) mutex_assert_no_err(pthread_mutex_destroy(m)) |
#define | mutex_synchronized(m, stmt) |
#define mutex_assert_no_err | ( | expr | ) | expr |
Definition at line 23 of file threading_mutex.h.
#define mutex_destroy | ( | m | ) | mutex_assert_no_err(pthread_mutex_destroy(m)) |
Definition at line 34 of file threading_mutex.h.
Referenced by ConfigDb_destroy(), and queue_close().
#define mutex_init | ( | m | ) | mutex_assert_no_err(pthread_mutex_init(m, NULL)) |
Definition at line 31 of file threading_mutex.h.
Referenced by ConfigDb_new(), and queue_init().
#define mutex_lock | ( | m | ) | mutex_assert_no_err(pthread_mutex_lock(m)) |
Definition at line 32 of file threading_mutex.h.
Referenced by queue_get(), queue_put(), queue_remove(), and queue_stop().
#define mutex_synchronized | ( | m, | |||
stmt | ) |
{ \ mutex_lock(m); \ stmt; \ mutex_unlock(m); \ }
Definition at line 38 of file threading_mutex.h.
Referenced by ConfigDb_get_generic(), and ConfigDb_set_generic().
#define mutex_unlock | ( | m | ) | mutex_assert_no_err(pthread_mutex_unlock(m)) |
Definition at line 33 of file threading_mutex.h.
Referenced by queue_get(), queue_put(), queue_remove(), and queue_stop().
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:02 2011 by Doxygen 1.6.1