<i>idle events are never processed when a "writable" handler on a nonblocking channel dominates the event queue</i> status still Open with 3 other changes
by
.
D 2024-04-02T14:02:48.892
J icomment This\sissue\sis\seven\sa\stypical\sexample\swhere\sidle\sevents\swill\sbe\sand\scan\sbe\sdisadvantaged\s(if\syou\shave\smany\s"normal"\sevents,\sidle\sevent\sis\snever\shappen\sand\sit\sis\sgood\sso...\swell,\sit\swas\sgood\still\s[0feb3d12b6]).\r\n\r\nBut\stake\sa\slook\sat\sTcl_DoOneEvent\s(and\sflag\sTCL_IDLE_EVENTS).\s\r\nAn\sevent\scycle\sof\stypical\sreactor\s(N\sthreads\sx\sM\sinterpreters)\scan\sand\smostly\swill\sinvoke\sTcl_DoOneEvent\swithout\sTCL_IDLE_EVENTS\sin\smain\scycle\sand\swould\sinvoke\sit\swith\sTCL_IDLE_EVENTS\sin\ssome\shelper\sdepending\son\sload\s(e.\sg.\speriodically).\r\n\r\nAnyway\sit\sis\snot\sidle\sand\smy\scritic\sis\svalid\sfor\smany\sreasons,\sno\smatter\show,\syou\sthink,\sthe\sidle\smay\swork\sin\sTcl\s(because\soften\sit\sdoesn't\swork\sin\sthis\sway).
J login sebres
J mimetype text/x-fossil-wiki
K ac7592e73c10d04b9bd0303308ac3db2396ad6e9
U sebres
Z 3048ab0d9aa2b4950a1bd38f1518ea57