[Zodb-checkins] CVS: StandaloneZODB/ZEO/zrpc - client.py:1.5

Jeremy Hylton jeremy@zope.com
Tue, 6 Aug 2002 19:09:21 -0400


Update of /cvs-repository/StandaloneZODB/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv32547/ZEO/zrpc

Modified Files:
	client.py 
Log Message:
Make thread join robust against runaways.


=== StandaloneZODB/ZEO/zrpc/client.py 1.4 => 1.5 ===
             if self._thread is not None:
                 # XXX race on _thread
                 self._thread.stop()
-                self._thread.join()
+                self._thread.join(30)
+                assert not self._thread.isAlive()
         finally:
             self._connect_lock.release()
         if self.connection: