You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
whiler_semaphore.get_counter() <len(thread_pairs): # Wait for the number of threads we currently have.
67
+
time.sleep(0.05)
68
+
r_semaphore.wait() # Unlock them to let them stop (the object is set -> wont loop)
69
+
# Wait for threads to die
70
+
forthread_pairinthread_pairs:
71
+
thread_pair[0].join()
72
+
54
73
55
74
# @todo import from -> from ovs.extensions.generic.threadhelpers import Waiter instead of this when PR (https://github.com/openvstorage/framework/pull/1467) is in Fargo n unstable
0 commit comments