[Checkins] SVN: zc.twist/trunk/src/zc/twist/README.txt Make thread spawned in test daemonic so that a SIGINT doesn't cause the test to hang.

Patrick Strawderman patrick at zope.com
Tue Sep 29 16:07:53 EDT 2009


Log message for revision 104625:
  Make thread spawned in test daemonic so that a SIGINT doesn't cause the test to hang.

Changed:
  U   zc.twist/trunk/src/zc/twist/README.txt

-=-
Modified: zc.twist/trunk/src/zc/twist/README.txt
===================================================================
--- zc.twist/trunk/src/zc/twist/README.txt	2009-09-29 20:01:40 UTC (rev 104624)
+++ zc.twist/trunk/src/zc/twist/README.txt	2009-09-29 20:07:52 UTC (rev 104625)
@@ -385,6 +385,7 @@
     ...     def __init__(self, call):
     ...         self.call = call
     ...         self.thread = threading.Thread(target=self.run)
+    ...         self.thread.setDaemon(True)
     ...         _thread.acquire()
     ...         _main.acquire()
     ...         self.thread.start()



More information about the checkins mailing list