qmsk/net/lib/event2/event.pxd
changeset 52 722fc70a197a
parent 50 da394bb715af
child 57 8c4032265c8c
--- a/qmsk/net/lib/event2/event.pxd	Sat Sep 26 21:46:36 2009 +0300
+++ b/qmsk/net/lib/event2/event.pxd	Sat Sep 26 21:50:42 2009 +0300
@@ -25,6 +25,11 @@
         The lifetime of event objects is slightly non-trivial, in that they will actually hold a reference to
         themselves while "active". In other words, .add() will aquire an internal reference, which will be released
         before the __call__().
+
+        XXX: it might be better for refcounting if the event_base were to keep a reference to each event
+        XXX: or if we kept a reference to the event_base? Might be even better
+
+        XXX: propagate errors (including e.g. KeyboardInterrupt?) from __call__ to event_base.loop()?
     """
 
     # the underlying event object