diff options
| author | 2015-01-28 09:20:10 +0100 | |
|---|---|---|
| committer | 2015-01-28 09:20:10 +0100 | |
| commit | 26e7a17b6326aa5a75a6276e52cf84a94c16d7a0 (patch) | |
| tree | bab4468226c59d590688e0ece892f5bfbca58736 /src/osd/modules/sync/sync_ntc.c | |
| parent | 13b862c4fae88f0f819c2c4416d49249e4de45b9 (diff) | |
Cleanups and version bumpmame0158
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); } - |
