How different are tcl and node from select, poll, and epoll?
I know tcl and node are runtimes - but what do you get extra in their event loops compared to standard event loops that Linux offers?
I know tcl and node are runtimes - but what do you get extra in their event loops compared to standard event loops that Linux offers?
On systems that implement them, Tcl can use select, epoll, kqueue for its event notification implementation, as well as pthread_cond_broadcast for threads (if built with thread support).
take a look at:
generic/tclNotify.c - https://core.tcl.tk/tcl/artifact/8804164706c8f2cb
unix/tclEpollNotfy.c - https://core.tcl.tk/tcl/artifact/892b68fa5a7c4c87