diff options
Diffstat (limited to 'src/osd/modules/sync/sync_ntc.c')
-rw-r--r-- | src/osd/modules/sync/sync_ntc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osd/modules/sync/sync_ntc.c b/src/osd/modules/sync/sync_ntc.c index ecd5cd51eaf..9da576b5149 100644 --- a/src/osd/modules/sync/sync_ntc.c +++ b/src/osd/modules/sync/sync_ntc.c @@ -411,7 +411,7 @@ int osd_event_wait(osd_event *event, osd_ticks_t timeout) { if (timeout == OSD_EVENT_WAIT_INFINITE) timeout = osd_ticks_per_second() * (osd_ticks_t)10000; - + pthread_mutex_lock(&event->mutex); if (!timeout) { @@ -531,4 +531,3 @@ void osd_thread_wait_free(osd_thread *thread) pthread_join(thread->thread, NULL); free(thread); } - |