Skip to content
Tcl Source Code Artifact [d2c4d294fe]
Login

Artifact [d2c4d294fe]

Artifact d2c4d294fe0073400138cd2fabec9b88fc682e5b5dbfacd93b01dbc9628e0d22:

Ticket change [d2c4d294fe] - Closed ticket [7aa8fd34c4e8ed00|7aa8fd34c4]: <i>epoll notifier spins and never reports writable after EPOLLERR</i> plus 8 other changes by jan.nijtmans on 2026-10-30 09:40:46.
D 2026-10-30T09:40:46.767
J assignee jan.nijtmans
J closedate 2461343.9033190627
J closer jan.nijtmans
J comment On\sLinux\s(epoll\snotifier,\s8.7\sand\slater),\sa\swritable\shandler\son\sa\spipe\swhose\sreader\shas\sexited\snever\sfires:\sEPOLLERR\sis\stranslated\sonly\sto\sTCL_EXCEPTION,\sand\sthe\slevel-triggered\sevent\swakes\sepoll_wait()\sagain\sat\sonce,\sso\sthe\sprocess\sspins\sat\s100%\sCPU.\sA\sbackground\sflush\sto\ssuch\sa\spipe\snever\sends,\sand\s<nowiki>[close]</nowiki>\sreports\sno\serror\salthough\sthe\sdata\swas\slost.\r\n\r\n<verbatim>\r\nset\sf\s[open\s|[list\s[info\snameofexecutable]\sexit.tcl]\sw]\s\s\s;#\schild\sexits\sat\sonce\r\nfconfigure\s$f\s-blocking\s0\r\nputs\s-nonewline\s$f\s[string\srepeat\sx\s300000]\r\ncatch\s{flush\s$f}\r\nchan\sevent\s$f\swritable\s{set\sw\swritable}\r\nafter\s3000\s{set\sw\stimeout}\r\nvwait\sw\s\s\s;#\s8.6:\swritable\sat\sonce,\sclose\sgives\s"broken\spipe";\s9.x:\stimeout,\sclose\sgives\sno\serror\r\n</verbatim>\r\n\r\nselect()\sreports\ssuch\sa\sdescriptor\sas\swritable.\sThe\scode\sis\sfrom\s[858569fb04].
J icomment Fixed\sin\s[6d788a0eb3|trunk],\sand\score-9-0-branch\r\n\r\nMany\sthanks!
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Fixed
J status Closed
K 7aa8fd34c4e8ed00e73e06aef189fae1b092d1c4
U jan.nijtmans
Z caa5c0376c7139978dac6d0a32ae1ab6