File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -537,11 +537,11 @@ def findFreeThreadSlot(th, thIdx):
537537 t = (thIdx + 1 ) % len (th )
538538 while True :
539539 if th [t ] == None : # empty slot
540- print (totalWait )
540+ # print(totalWait) # debug
541541 return t
542542 elif not th [t ].is_alive (): # thread just finished
543543 th [t ] = None
544- print (totalWait )
544+ # print(totalWait) # debug
545545 return t
546546 else : # keep searching
547547 t = (t + 1 ) % len (th )
@@ -551,7 +551,6 @@ def findFreeThreadSlot(th, thIdx):
551551 time .sleep (sleepTime )
552552 totalWait += sleepTime
553553 if totalWait >= maxSleepTime :
554- print ('Waited {} seconds for a free thread - exiting' .format (totalWait ))
555554 return None
556555
557556# Wait for threads to complete, marking them as None when done. Get logging results text back from queue, as this is
You can’t perform that action at this time.
0 commit comments