|
Asterisk - The Open Source Telephony Project GIT-master-27fb039
|
Named Locks. More...
#include "asterisk.h"#include "asterisk/_private.h"#include "asterisk/astobj2.h"#include "asterisk/named_locks.h"#include "asterisk/utils.h"
Go to the source code of this file.
Data Structures | |
| struct | ast_named_lock |
| struct | named_lock_proxy |
Macros | |
| #define | NAMED_LOCKS_BUCKETS 101 |
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) |
| int | ast_named_locks_init (void) |
| static void | named_lock_proxy_cb (void *weakproxy, void *data) |
| static void | named_locks_shutdown (void) |
Variables | |
| struct ao2_container * | named_locks |
Named Locks.
Definition in file named_locks.c.
| #define NAMED_LOCKS_BUCKETS 101 |
Definition at line 34 of file named_locks.c.
| int ast_named_locks_init | ( | void | ) |
Provided by named_locks.c
Definition at line 52 of file named_locks.c.
References AO2_ALLOC_OPT_LOCK_MUTEX, ao2_container_alloc_hash, ast_register_cleanup(), named_locks, NAMED_LOCKS_BUCKETS, named_locks_shutdown(), and NULL.
Referenced by asterisk_daemon().
|
static |
Definition at line 65 of file named_locks.c.
References ao2_unlink, and named_locks.
Referenced by __ast_named_lock_get().
|
static |
Definition at line 47 of file named_locks.c.
References ao2_cleanup, and named_locks.
Referenced by ast_named_locks_init().
| struct ao2_container* named_locks |
Definition at line 33 of file named_locks.c.
Referenced by __ast_named_lock_get(), ast_named_locks_init(), named_lock_proxy_cb(), and named_locks_shutdown().