Author: Armin Rigo <ar...@tunes.org> Branch: stm-gc Changeset: r54450:df717693c947 Date: 2012-04-17 10:30 +0200 http://bitbucket.org/pypy/pypy/changeset/df717693c947/
Log: Complete the comment. diff --git a/lib_pypy/transaction.py b/lib_pypy/transaction.py --- a/lib_pypy/transaction.py +++ b/lib_pypy/transaction.py @@ -74,6 +74,10 @@ def remove_epoll(ep): """Explicitly unregister the epoll object. Note that raising an exception in a transaction to abort run() also unregisters all epolls. + However, an epoll that becomes empty (doesn't wait on any fd) is not + automatically removed; if there is only an empty epoll left and no + further transactions, and no-one raised an exception, then it will + basically deadlock. """ for key, (f, args, kwds) in _pending.items(): if getattr(f, '_reads_from_epoll_', None) is ep: _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit