From: Finn B. <bc...@us...> - 2001-11-26 10:49:01
|
Update of /cvsroot/jython/bugtests In directory usw-pr-cvs1:/tmp/cvs-serv4176 Added Files: test343.py test343j.java Log Message: Test for [ #485558 ] Synchronization bug in sys.initialize --- NEW FILE: test343.py --- """ [ #485558 ] Synchronization bug in sys.initialize """ import support support.compileJava("test343j.java") support.runJava("test343j", classpath=".") --- NEW FILE: test343j.java --- import org.python.util.*; public class test343j implements Runnable { public static void main(String[] args) { new Thread(new test343j()).start(); new Thread(new test343j()).start(); new Thread(new test343j()).start(); new Thread(new test343j()).start(); new Thread(new test343j()).start(); } public void run() { new PythonInterpreter(); new PythonInterpreter(); } } |