Tcl Source Code

Artifact [ed97306e5a]
Login

Artifact ed97306e5a1088d0e4804285a0ac72d036f6876e:

Ticket change [ed97306e5a] - Ticket [f4f44174e4] protect notifier against signals status still Open with 3 other changes by aspect 2016-12-07 02:13:26.
D 2016-12-07T02:13:26.901
J icomment I\swas\sjust\sabout\sto\sreport\sthat\shandling\sEINTR\sin\sFile{In,Out}putProc\sdoesn't\seliminate\sthe\sdeadlock,\sit\sjust\spushes\sit\sout\slater\s(with\sa\sdifferent\sstack\strace,\sbut\sthis\sis\swhack-a-mole).\r\n\r\nThe\sinteresting\spart\sof\sthis\strace\sseems\sto\sbe:\r\n\r\n#10\s0x00007f4bba9a95cc\sin\sTclChannelEventScriptInvoker\s(clientData=0x2030f28,\smask=2)\sat\sgeneric/tclIO.c:8866\r\n#11\s0x00007f4bba9a8e03\sin\sTcl_NotifyChannel\s(channel=0x2046e58,\smask=2)\sat\sgeneric/tclIO.c:8360\r\n#12\s0x00007f4bba9a9003\sin\sChannelTimerProc\s(clientData=0x2046e58)\sat\sgeneric/tclIO.c:8526\r\n#13\s0x00007f4bba9f67aa\sin\sTimerHandlerEventProc\s(evPtr=0x1f93d68,\sflags=-3)\sat\sgeneric/tclTimer.c:593\r\n\r\n\r\n\r\n>\sPOSIX\sdoes\snot\slist\spthread_mutex_(unlock|lock)()\sas\sasync\ssignal\ssafe\sfunctions.\r\n\r\nCan\syou\sgive\sme\sa\ssource?\s\sI'd\slike\sto\sunderstand\sthis\sbetter\s..\sthe\sLinux\smanual\sstates:\r\n\r\n>\sThese\sfunctions\sshall\snot\sreturn\san\serror\scode\sof\s[EINTR].\r\n\r\nFeel\sfree\sto\sping\sme\son\schat\sfor\san\semail\saddress\sto\stake\sthis\sdiscussion\soff-ticket\swhere\swe\scan\sbe\smore\sverbose\sand\stangential\sif\syou\slike\s:)
J login aspect
J mimetype text/plain
K f4f44174e4c88a9132b19bcc4b68346a1d229fe1
U aspect
Z 070ff99cfe44560da6b43fdfa38ab636