From: <zy...@us...> - 2008-08-02 21:41:03
|
Revision: 5055 http://jython.svn.sourceforge.net/jython/?rev=5055&view=rev Author: zyasoft Date: 2008-08-02 21:40:59 +0000 (Sat, 02 Aug 2008) Log Message: ----------- threading does not maintain a dict of limbo threads, since this doesn't make sense in Jython. Remove code testing cleanup of threading._limbo in test_support.threading_setup/thread_cleanup Modified Paths: -------------- branches/asm/Lib/test/test_support.py Modified: branches/asm/Lib/test/test_support.py =================================================================== --- branches/asm/Lib/test/test_support.py 2008-08-02 21:35:23 UTC (rev 5054) +++ branches/asm/Lib/test/test_support.py 2008-08-02 21:40:59 UTC (rev 5055) @@ -536,7 +536,7 @@ def threading_setup(): import threading - return len(threading._active), len(threading._limbo) + return len(threading._active), 0 def threading_cleanup(num_active, num_limbo): import threading @@ -548,11 +548,6 @@ count += 1 time.sleep(0.1) - count = 0 - while len(threading._limbo) != num_limbo and count < _MAX_COUNT: - count += 1 - time.sleep(0.1) - def reap_children(): """Use this function at the end of test_main() whenever sub-processes are started. This will help ensure that no extra children (zombies) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |