Skip to content

Commit

Permalink
fix deadlock in pipeline: notifyAll instead of notify
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed May 6, 2011
1 parent e5e1150 commit 69f392c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS
Expand Up @@ -18,6 +18,7 @@
cost, however. The virtual filesystem used by BPD is available for
reuse by plugins (e.g., the FUSE plugin).
* Fix crash when autotagging files with no metadata.
* Fix a rare deadlock when finishing the import pipeline.

1.0b8
-----
Expand Down
4 changes: 2 additions & 2 deletions beets/util/pipeline.py
Expand Up @@ -62,8 +62,8 @@ def _get():
q._qsize = _qsize
q._put = _put
q._get = _get
q.not_empty.notify()
q.not_full.notify()
q.not_empty.notifyAll()
q.not_full.notifyAll()

finally:
if sync:
Expand Down

0 comments on commit 69f392c

Please sign in to comment.