~pythonregexp2.7/python/issue2636-01+09-02

« back to all changes in this revision

Viewing changes to Lib/Queue.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 00:16:16 UTC
  • mfrom: (39022.1.34 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922001616-p1wdip9lfp0zl5cu
Merged in changes from the Atomic Grouping / Possessive Qualifiers branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
            if unfinished <= 0:
63
63
                if unfinished < 0:
64
64
                    raise ValueError('task_done() called too many times')
65
 
                self.all_tasks_done.notifyAll()
 
65
                self.all_tasks_done.notify_all()
66
66
            self.unfinished_tasks = unfinished
67
67
        finally:
68
68
            self.all_tasks_done.release()