72 end.tv_sec = start.tv_sec + timeout;
73 end.tv_nsec = start.tv_usec * 1000;
Asterisk main include file. File version handling, generic pbx functions.
void * ao2_object_get_lockaddr(void *obj)
Return the mutex lock address of an object.
#define ao2_alloc(data_size, destructor_fn)
#define ast_cond_destroy(cond)
#define ast_cond_wait(cond, mutex)
#define ast_cond_init(cond, attr)
#define ast_cond_timedwait(cond, mutex, time)
pthread_cond_t ast_cond_t
#define ast_cond_signal(cond)
static struct ast_serializer_shutdown_group * shutdown_group
Shutdown group for options serializers.
void ast_serializer_shutdown_group_dec(struct ast_serializer_shutdown_group *shutdown_group)
Decrement the number of serializer members in the group.
static void serializer_shutdown_group_dtor(void *vdoomed)
void ast_serializer_shutdown_group_inc(struct ast_serializer_shutdown_group *shutdown_group)
Increment the number of serializer members in the group.
int ast_serializer_shutdown_group_join(struct ast_serializer_shutdown_group *shutdown_group, int timeout)
Wait for the serializers in the group to shutdown with timeout.
struct ast_serializer_shutdown_group * ast_serializer_shutdown_group_alloc(void)
Create a serializer group shutdown control object.
Structure for mutex and tracking information.
Time-related functions and macros.
struct timeval ast_tvnow(void)
Returns current timeval. Meant to replace calls to gettimeofday().