Skip to content
Tcl Source Code Changes To Notifier
Login

Changes To Notifier

Changes to "Notifier" between 2014-10-24 21:45:39 and 2014-10-25 15:56:37

︙
62
63
64
65
66
67
68
69

70
71

72
73
62
63
64
65
66
67
68

69
70

71
72
73







-
+

-
+


compatibility impacts on the [Xt Based Notifier] which I can find no evidence
of being used by anyone for anything.

The default notifier on unix is founded on the <b>select()</b> system call.
This implementation brings with it a limitation of <b>FD_SETSIZE</b>.  Besides
that, <b>select()</b> has a reputation of being an <i>old</i> choice, and
many programmers are curious why more recent mechanisms are not used.
Other candidates include <b>poll()</b>.  It seems the way forward is to
Other candidates include <b>poll()</b> or <b>libevent</b>.  It seems the way forward is to
patch up any defects in <b>Tcl_SetNotifier</b> so that a notifier can be
selected at program startup, and continue to supply the select implementation
selected at program startup, and continue to supply the <b>select</b> implementation
(for portability to weird places like routers) while also supplying whatever
new notifiers make sense on respective platforms.