diff options
Diffstat (limited to 'res/res_timing_pthread.c')
-rw-r--r-- | res/res_timing_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_timing_pthread.c b/res/res_timing_pthread.c index f52079643..bcc9eb0e8 100644 --- a/res/res_timing_pthread.c +++ b/res/res_timing_pthread.c @@ -132,7 +132,7 @@ static void *pthread_timer_open(void) for (i = 0; i < ARRAY_LEN(timer->pipe); ++i) { ast_fd_set_flags(timer->pipe[i], O_NONBLOCK); } - + ao2_lock(pthread_timers); if (!ao2_container_count(pthread_timers)) { ast_mutex_lock(&timing_thread.lock); |