Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

lock.h File Reference

#include <pthread.h>

Go to the source code of this file.

Defines

#define AST_MUTEX_INITIALIZER   PTHREAD_MUTEX_INITIALIZER
#define AST_MUTEX_KIND   PTHREAD_NORMAL
#define ast_mutex_lock(t)   pthread_mutex_lock(t)
#define ast_mutex_unlock(t)   pthread_mutex_unlock(t)
#define ast_mutex_trylock(t)   pthread_mutex_trylock(t)
#define ast_mutex_init(t)   pthread_mutex_init(t, NULL)
#define ast_pthread_mutex_init(t, a)   pthread_mutex_init(t,a)
#define ast_mutex_destroy(t)   pthread_mutex_destroy(t)

Typedefs

typedef pthread_mutex_t ast_mutex_t


Define Documentation

#define ast_mutex_destroy  )     pthread_mutex_destroy(t)
 

Definition at line 180 of file lock.h.

Referenced by ast_channel_free().

#define ast_mutex_init  )     pthread_mutex_init(t, NULL)
 

Definition at line 178 of file lock.h.

Referenced by ast_channel_alloc(), and ast_context_create().

#define AST_MUTEX_INITIALIZER   PTHREAD_MUTEX_INITIALIZER
 

Definition at line 166 of file lock.h.

#define AST_MUTEX_KIND   PTHREAD_NORMAL
 

Definition at line 170 of file lock.h.

#define ast_mutex_lock  )     pthread_mutex_lock(t)
 

Definition at line 175 of file lock.h.

Referenced by __ast_context_destroy(), ast_active_channels(), ast_add_extension2(), ast_answer(), ast_async_goto(), ast_autoservice_start(), ast_autoservice_stop(), ast_begin_shutdown(), ast_call(), ast_cdr_post(), ast_cdr_register(), ast_cdr_unregister(), ast_channel_alloc(), ast_channel_free(), ast_channel_register_ex(), ast_channel_unregister(), ast_channel_walk(), ast_cli_command(), ast_cli_register(), ast_cli_unregister(), ast_context_add_ignorepat2(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_create(), ast_context_find(), ast_context_remove_extension2(), ast_context_remove_ignorepat2(), ast_context_remove_include2(), ast_context_remove_switch2(), ast_db_del(), ast_db_deltree(), ast_db_get(), ast_db_gettree(), ast_db_put(), ast_device_state(), ast_device_state_changed(), ast_enum_init(), ast_extension_state_add(), ast_extension_state_del(), ast_format_register(), ast_format_unregister(), ast_frfree(), ast_get_enum(), ast_get_indication_tone(), ast_get_indication_zone(), ast_hangup(), ast_image_register(), ast_image_unregister(), ast_indicate(), ast_load_resource(), ast_loader_register(), ast_loader_unregister(), ast_lock_context(), ast_lock_contexts(), ast_log(), ast_manager_register(), ast_manager_unregister(), ast_merge_contexts_and_delete(), ast_module_reload(), ast_queue_frame(), ast_read(), ast_read_image(), ast_register_application(), ast_register_atexit(), ast_register_indication(), ast_register_indication_country(), ast_register_switch(), ast_register_translator(), ast_register_verbose(), ast_request(), ast_rtp_bridge(), ast_softhangup(), ast_transfer(), ast_translator_best_choice(), ast_unload_resource(), ast_unregister_application(), ast_unregister_atexit(), ast_unregister_indication(), ast_unregister_indication_country(), ast_unregister_switch(), ast_unregister_translator(), ast_unregister_verbose(), ast_update_use_count(), ast_verbose(), ast_verbose_dmesg(), ast_waitfor_nandfds(), ast_write(), ast_writefile(), astman_send_error(), astman_send_response(), manager_event(), pbx_findapp(), and reload_logger().

#define ast_mutex_trylock  )     pthread_mutex_trylock(t)
 

Definition at line 177 of file lock.h.

Referenced by ast_update_module_list().

#define ast_mutex_unlock  )     pthread_mutex_unlock(t)
 

Definition at line 176 of file lock.h.

Referenced by __ast_context_destroy(), ast_active_channels(), ast_add_extension2(), ast_answer(), ast_async_goto(), ast_autoservice_start(), ast_autoservice_stop(), ast_begin_shutdown(), ast_call(), ast_cdr_post(), ast_cdr_register(), ast_cdr_unregister(), ast_channel_alloc(), ast_channel_free(), ast_channel_register_ex(), ast_channel_unregister(), ast_channel_walk(), ast_cli_command(), ast_cli_register(), ast_cli_unregister(), ast_context_add_ignorepat2(), ast_context_add_include2(), ast_context_add_switch2(), ast_context_create(), ast_context_find(), ast_context_remove_extension2(), ast_context_remove_ignorepat2(), ast_context_remove_include2(), ast_context_remove_switch2(), ast_db_del(), ast_db_deltree(), ast_db_get(), ast_db_gettree(), ast_db_put(), ast_device_state(), ast_device_state_changed(), ast_enum_init(), ast_extension_state_add(), ast_extension_state_del(), ast_format_register(), ast_format_unregister(), ast_frfree(), ast_get_enum(), ast_get_indication_tone(), ast_get_indication_zone(), ast_hangup(), ast_image_register(), ast_image_unregister(), ast_indicate(), ast_load_resource(), ast_loader_register(), ast_loader_unregister(), ast_log(), ast_manager_register(), ast_manager_unregister(), ast_merge_contexts_and_delete(), ast_module_reload(), ast_queue_frame(), ast_read(), ast_read_image(), ast_register_application(), ast_register_atexit(), ast_register_indication(), ast_register_indication_country(), ast_register_switch(), ast_register_translator(), ast_register_verbose(), ast_request(), ast_rtp_bridge(), ast_softhangup(), ast_transfer(), ast_translator_best_choice(), ast_unload_resource(), ast_unlock_context(), ast_unlock_contexts(), ast_unregister_application(), ast_unregister_atexit(), ast_unregister_indication(), ast_unregister_indication_country(), ast_unregister_switch(), ast_unregister_translator(), ast_unregister_verbose(), ast_update_module_list(), ast_update_use_count(), ast_verbose(), ast_verbose_dmesg(), ast_waitfor_nandfds(), ast_write(), ast_writefile(), astman_send_error(), astman_send_response(), manager_event(), pbx_findapp(), and reload_logger().

#define ast_pthread_mutex_init t,
 )     pthread_mutex_init(t,a)
 

Definition at line 179 of file lock.h.


Typedef Documentation

typedef pthread_mutex_t ast_mutex_t
 

Definition at line 173 of file lock.h.


Generated on Fri Oct 31 07:05:14 2003 for Asterisk by doxygen 1.3.4