bpo-35491, multiprocessing: replace "RUN" with RUN (GH-11178)
This commit is contained in:
parent
b912f9342e
commit
2dfe3511fe
|
@ -486,7 +486,7 @@ class Pool(object):
|
|||
util.debug('result handler got EOFError/OSError -- exiting')
|
||||
return
|
||||
|
||||
if thread._state != "RUN":
|
||||
if thread._state != RUN:
|
||||
assert thread._state == TERMINATE, "Thread not in TERMINATE"
|
||||
util.debug('result handler found thread._state=TERMINATE')
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue