python 2 thread event.wait code example
Example: python threading
def myFunction(x, y):
pass
x = threading.Thread(target=myFunction, args=(x, y))
x.start()
def myFunction(x, y):
pass
x = threading.Thread(target=myFunction, args=(x, y))
x.start()