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 0654059f9..f57c737f6 100644 --- a/res/res_timing_pthread.c +++ b/res/res_timing_pthread.c @@ -134,7 +134,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); |