Searched refs:sync_lock (Results 1 – 2 of 2) sorted by relevance
53 sync_lock = "/tmp/copy_sync.lock" + str(_global_sync_count)57 if get_device_id() % min(get_device_num(), 8) == 0 and not os.path.exists(sync_lock):63 os.mknod(sync_lock)69 if os.path.exists(sync_lock):
423 static pthread_mutex_t sync_lock = PTHREAD_MUTEX_INITIALIZER; in snd_hctl_sort() local431 pthread_mutex_lock(&sync_lock); in snd_hctl_sort()436 pthread_mutex_unlock(&sync_lock); in snd_hctl_sort()