]> granicus.if.org Git - python/commit
The _Event class should be more careful with releasing its lock when
authorGuido van Rossum <guido@python.org>
Thu, 21 Nov 2002 21:08:39 +0000 (21:08 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 21 Nov 2002 21:08:39 +0000 (21:08 +0000)
commit21b60147e9d4e6c895b581429d292cb60bcdb5e7
tree8e83787b67de1824bc5480b4e025dd327da25afb
parentd584368dec1fd74e7bc1a72dec2d50172aa1278e
The _Event class should be more careful with releasing its lock when
interrupted.  A try/finally will do nicely.  Maybe other classes need
this too, but since they manipulate more state it's less clear that
that is always the right thing, and I'm in a hurry.

Backport candidate.
Lib/threading.py