mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-08 06:12:45 +00:00
Use read/write lock based lists for group counting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -236,8 +236,11 @@ int ast_app_group_discard(struct ast_channel *chan);
|
||||
/*! Update all group counting for a channel to a new one */
|
||||
int ast_app_group_update(struct ast_channel *oldchan, struct ast_channel *newchan);
|
||||
|
||||
/*! Lock the group count list */
|
||||
int ast_app_group_list_lock(void);
|
||||
/*! Write Lock the group count list */
|
||||
int ast_app_group_list_wrlock(void);
|
||||
|
||||
/*! Read Lock the group count list */
|
||||
int ast_app_group_list_rdlock(void);
|
||||
|
||||
/*! Get the head of the group count list */
|
||||
struct ast_group_info *ast_app_group_list_head(void);
|
||||
|
Reference in New Issue
Block a user