diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-13 18:23:12 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-13 18:23:12 +0000 |
commit | 479087578ce7dc2f76cf0dc2d31ce8923063e6b2 (patch) | |
tree | 58936ee18424560b11ef9150cc96f8f1d9bfb515 /main/cli.c | |
parent | 89eb1c59764c788fa92b9c281fdf41381a7757c3 (diff) |
Use read/write lock based lists for group counting.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69130 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r-- | main/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c index a3a2532c4..fa30bf3e5 100644 --- a/main/cli.c +++ b/main/cli.c @@ -923,7 +923,7 @@ static int group_show_channels(int fd, int argc, char *argv[]) ast_cli(fd, FORMAT_STRING, "Channel", "Group", "Category"); - ast_app_group_list_lock(); + ast_app_group_list_rdlock(); gi = ast_app_group_list_head(); while (gi) { |