diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-19 01:07:06 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-19 01:07:06 +0000 |
commit | ad39c59eaf972fbb20dd7736636eb93b3365f1d2 (patch) | |
tree | ed96bb9d272b6a0e364de5511df4b4bdc53341c0 /apps | |
parent | 2873744bae58a0fb66cc194f83cddd9a2d102652 (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-x | apps/app_queue.c | 1 |
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; |