aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-19 01:07:06 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-19 01:07:06 +0000
commitad39c59eaf972fbb20dd7736636eb93b3365f1d2 (patch)
treeed96bb9d272b6a0e364de5511df4b4bdc53341c0 /apps
parent2873744bae58a0fb66cc194f83cddd9a2d102652 (diff)
More locking fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1039 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 1470f54f1..098cd4e09 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -767,6 +767,7 @@ static void reload_queues(void)
if (q) {
/* Initialize it */
memset(q, 0, sizeof(struct ast_call_queue));
+ ast_pthread_mutex_init(&q->lock);
strncpy(q->name, cat, sizeof(q->name));
new = 1;
} else new = 0;