<i>kqueue notifier hangs on OpenBSD</i> status still Open with 4 other changes
by
.
D 2026-07-04T17:48:49.753
J comment If\sthe\skqueue\snotifier\sis\sconfigured\son\sOpenBSD,\stests\swill\shang.\r\nFirst\stest\sto\shang\sis\sbasic-26.1,\sif\sskipped\sthen\schan-16.9.\r\n\r\nchecking\sfor\sadvanced\snotifier\ssupport...\skqueue(2)\s:\stests\shang\r\nchecking\sfor\sadvanced\snotifier\ssupport...\snone\s:\stests\spass,\sall\sthe\sway\sthrough\sto\sthe\send\r\n\r\nUPD:\s9.1a1\slooks\sgood.
J icomment I\scould\sbet\sthat\sit'd\sbe\sthe\schange\sof\sunix/tclKqueueNotfy.c\sfrom\s[def988e9cd676b5b]:\r\n\r\n<pre><code>\r\n-\s\s\s\sif\s(timePtr\s!=\sNULL)\s{\r\n+\ttimeout.tv_sec\s=\stimePtr->sec;\r\n+\ttimeout.tv_usec\s=\stimePtr->usec;\r\n-\s\s\s\sif\s(time\s>\s0)\s{\r\n+\ttimeout.tv_sec\s=\stime\s/\s1000000;\r\n+\ttimeout.tv_usec\s=\stime\s%\s1000000;\r\n</code></pre>\r\nbecause\sif\stime\sis\snegative\sfor\ssome\sreasons,\sit'd\swait\sinfinitely\sinstead\sof\sleave\swaiting\sproc\simmediately.\r\n\r\nBut\s<a\shref="http://paste.tclers.tk/6221">oldlaptop\stested\sit</a>\sand\sit\sseems\sto\shang\sfurther.\r\n\r\nHowever,\sI'm\sstill\ssure\sit\sshall\sbe\srewritten\sanyway\sfor\sbackwards\scompatibility\sreasons\s(e.\sg.\ssome\sextension\smay\scall\sTcl_WaitForEvent\swith\ssome\snegative\svalue\sand\sbehavior\sgets\schanged\scompletely).
J login sebres
J mimetype text/x-fossil-wiki
K 6f8bbbb34bf84bf0032c9f647e7e480e4ad03904
U sebres
Z 10e78e8c0b275cd3a6961820e71a861b