diff options
author | Mark Spencer <markster@digium.com> | 2003-05-19 01:07:06 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-05-19 01:07:06 +0000 |
commit | 1d22c714ce9cad72e9b06211abd458e7f2b1db10 (patch) | |
tree | ed96bb9d272b6a0e364de5511df4b4bdc53341c0 /apps/app_queue.c | |
parent | a342626920d9eb03db1f28aad2baf5ab1b5895d2 (diff) |
More locking fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-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; |