Commit 794ddc9d authored by Jim Fulton's avatar Jim Fulton

Bugs Fixed

----------

- ZEO client threads were unnamed, making it hard to debug thread
  management.
parent fb02f228
......@@ -2,6 +2,16 @@
Change History
================
3.9.0b2 (2009-07-02)
====================
Bugs Fixed
----------
- ZEO client threads were unnamed, making it hard to debug thread
management.
3.9.0b2 (2009-06-11)
====================
......
......@@ -1174,6 +1174,12 @@ def open_convenience():
>>> db.close()
"""
def client_asyncore_thread_has_name():
"""
>>> len([t for t in threading.enumerate()
... if t.getName() == 'ZEO.zrpc.connection'])
1
"""
slow_test_classes = [
BlobAdaptedFileStorageTests, BlobWritableCacheTests,
......
......@@ -47,7 +47,7 @@ def client_exit():
global client_running
client_running = False
client_trigger.pull_trigger()
client_exit_event.wait()
client_exit_event.wait(99)
atexit.register(client_exit)
......@@ -153,7 +153,7 @@ def client_loop():
client_exit_event.set()
client_thread = threading.Thread(target=client_loop)
client_thread = threading.Thread(target=client_loop, name=__name__)
client_thread.setDaemon(True)
client_thread.start()
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment