Fix threads resume test: do not suspend main thread until all threads are created

This commit is contained in:
Elizaveta Shashkova
2016-08-12 14:08:37 +03:00
parent c2b30671de
commit 955e2ee174
2 changed files with 3 additions and 2 deletions
@@ -4,6 +4,7 @@ lock = RLock()
def foo():
sleep(1)
while True:
lock.acquire()
x = 12