From edd9e23c766cfd51b3a6f6eee5aac0b791ef2fd0 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 7 Jun 2010 17:16:48 +0200 Subject: added high-speed locking facilities, allowing our Queue to be faster, at least in tests, and with multiple threads. There is still an sync bug in regard to closed channels to be fixed, as the Task.set_done handling is incorrecft --- lib/git/async/thread.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/git/async/thread.py') diff --git a/lib/git/async/thread.py b/lib/git/async/thread.py index f875f094..f7f0c978 100644 --- a/lib/git/async/thread.py +++ b/lib/git/async/thread.py @@ -15,9 +15,6 @@ def do_terminate_threads(whitelist=list()): continue if whitelist and t not in whitelist: continue - if isinstance(t, WorkerThread): - t.inq.put(t.quit) - # END worker special handling t.stop_and_join() # END for each thread -- cgit v1.2.1