diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-11 11:52:01 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-11 11:52:01 +0200 |
commit | 6d1212e8c412b0b4802bc1080d38d54907db879d (patch) | |
tree | 09025a39d44fa2a28a6533a0f969316652f974bc /lib/git/async/thread.py | |
parent | fbe062bf6dacd3ad63dd827d898337fa542931ac (diff) | |
download | gitpython-6d1212e8c412b0b4802bc1080d38d54907db879d.tar.gz |
IMPORTANT: sometimes, when notifying waiters by releasing their lock, the lock is not actually released or they are not actually notifyied, staying in a beautysleep. This glitch is probably caused by some detail not treated correctly in the thread python module, which is something we cannot fix. It works most of the time as expected though - maybe some cleanup is not done correctly which causes this
Diffstat (limited to 'lib/git/async/thread.py')
-rw-r--r-- | lib/git/async/thread.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/git/async/thread.py b/lib/git/async/thread.py index b8d2e418..4d046a2f 100644 --- a/lib/git/async/thread.py +++ b/lib/git/async/thread.py @@ -146,9 +146,7 @@ class WorkerThread(TerminatableThread): # we wait and block - to terminate, send the 'stop' method tasktuple = gettask() - # needing exactly one function, and one arg - assert len(tasktuple) == 2, "Need tuple of function, arg - it could be more flexible, but its reduced to what we need" routine, arg = tasktuple try: |