[Checkins] SVN: zc.twist/trunk/src/zc/twist/README.txt Very monor changes to dios.

Gary Poster gary at zope.com
Wed Aug 16 23:47:29 EDT 2006


Log message for revision 69580:
  Very monor changes to dios.
  

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	2006-08-17 03:21:28 UTC (rev 69579)
+++ zc.twist/trunk/src/zc/twist/README.txt	2006-08-17 03:47:29 UTC (rev 69580)
@@ -369,9 +369,8 @@
     ...         _thread.release()
     ...         _main.acquire()
     ...     def resume(self, retry=True):
-    ...         if retry:
-    ...             while self.running:
-    ...                 self.retry()
+    ...         while self.running:
+    ...             self.retry()
     ...         while self.thread.isAlive():
     ...             pass
     ...         assert not _thread.locked()
@@ -389,16 +388,10 @@
     ...     runner.retry()
     ...
     >>> runner.resume(retry=False)
-    >>> _thread.locked()
-    False
-    >>> _main.locked()
-    False
     >>> demo.count
     4
     >>> call.attempt_count
     5
-    >>> runner.thread.isAlive()
-    False
     >>> deferred = runner.result
 
 .. [#use_original_demo] The second demo has too much thread code in it:



More information about the Checkins mailing list