Home
last modified time | relevance | path

Searched refs:sync_lock (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/model_utils/
Dmoxing_adapter.py53 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):
/third_party/alsa-lib/src/control/
Dhcontrol.c423 static pthread_mutex_t sync_lock = PTHREAD_MUTEX_INITIALIZER; in snd_hctl_sort() local
431 pthread_mutex_lock(&sync_lock); in snd_hctl_sort()
436 pthread_mutex_unlock(&sync_lock); in snd_hctl_sort()