Commits

Armin Rigo  committed df71769

Complete the comment.

  • Participants
  • Parent commits a33aa41
  • Branches stm-gc

Comments (0)

Files changed (1)

File lib_pypy/transaction.py

 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: