Asterisk - The Open Source Telephony Project GIT-master-0bf3178
|
Named Locks. More...
#include "asterisk/astobj2.h"
Go to the source code of this file.
Macros | |
#define | ast_named_lock_get(lock_type, keyspace, key) |
Geta named lock handle. More... | |
#define | ast_named_lock_put(lock) ao2_cleanup(lock) |
Put a named lock handle away. More... | |
Enumerations | |
enum | ast_named_lock_type { AST_NAMED_LOCK_TYPE_MUTEX = AO2_ALLOC_OPT_LOCK_MUTEX , AST_NAMED_LOCK_TYPE_RWLOCK = AO2_ALLOC_OPT_LOCK_RWLOCK } |
Which type of lock to request. More... | |
Functions | |
struct ast_named_lock * | __ast_named_lock_get (const char *filename, int lineno, const char *func, enum ast_named_lock_type lock_type, const char *keyspace, const char *key) |
Named Locks.
Definition in file named_locks.h.