Tcl Source Code

Artifact [4c6cc4aa0e]
Login

Artifact 4c6cc4aa0e28cadd35d50778b688d9aa8a3b4d3de38f64392dbf7d59d786ab9e:

Ticket change [4c6cc4aa0e] - Ticket [c6897e6e6a8a65a9|c6897e6e6a] <i>select notifier crashes/misbehaves on fd &gt;= FD_SETSIZE</i> status still Open with 3 other changes by chw 2019-11-08 23:25:32.
D 2019-11-08T23:25:32.474
J icomment I\sthink\sit\smainly\sboils\sdown\sto\sthis\r\n\r\n\s\shttps://www.androwish.org/home/artifact?udc=1&name=e337a3b2239dcc19&ln=1727,1737\r\n\r\nwhich\sseems\sto\sbe\sa\sdesign\sflaw\sin\sthe\ssocket\slayer,\si.e.\r\nlisten()\sallows\sfor\sa\sbacklog\swhich\saccept()\scannot\ssatisfy\r\ndue\sto\sother\sprocess/system\sconstraints.\sIn\sthe\sshiny\smodern\r\nworld\sof\smulti\sthreads/cores\sand\sa\ssingle\stable\sof\sfile\r\ndescriptors\sper\sprocess\sthis\sintroduces\sa\srace\swhich\sproperly\r\ncould\sbe\sresolved\sonly\sby\skernel\ssupport\sin\sthe\sspirit\sof\sdup2(),\r\ni.e.\satomically\sswap\san\sold\sfile\sdescriptor\swith\sthe\snew\sone\r\nobtained\sthrough\saccept().\sThus,\sI\sblatantly\spropose\sto\sname\r\nthis\snew\ssystem\scall\seither\sdupcept()\sor\saccdupt().\sI\sbet,\sthe\r\nlack\sof\sit\salready\sburned\slegions\sof\ssoftware\sengineers.
J login chw
J mimetype text/plain
K c6897e6e6a8a65a995ec35c9c297b926bf1b6783
U chw
Z 61b35e5e1a98771c061704a4fd6e5a87