<i>Add ability to use poll() in TclUnixWaitForFile()</i> status still Open with 4 other changes
by
.
D 2008-06-15T12:52:57
J icomment Logged\sIn:\sNO\s\n\nSome\snotes:\n\n(1)\sTclUnixWaitForFile()\sis\sonly\sused\sin\sone\splace\sin\sthe\ncore\sproper,\snamely\sWaitForConnect().\n\n(2)\sIn\sWaitForConnect(),\sthe\s"timeout"\sparameter\sis\salways\seither\n'0'\s(do\snot\swait)\sor\s-1\s(wait\sforever).\s\sSo\sTclUnixWaitForFile()\nis\smuch\smore\scomplicated\sthan\sit\sneeds\sto\sbe\s--\sit\sdoesn't\sneed\sthe\n"mini-event\sloop"\sor\sall\sthe\stimeout\sprocessing\sat\sall.\n\n(3)\sWaitForConnect()\sand\sthe\sTCP_ASYNC_SOCKET/TCP_ASYNC_CONNECT\nlogic\sis\salso\smore\scomplicated\sthan\sit\sneeds\sto\sbe\s(and\smight\nnot\sbe\snecessary\sat\sall).\n\n(4)\sTclUnixWaitForFile()\sis\salso\sused\sin\sthe\stest\ssuite,\sthis\stime\nwith\stimeout\svalues\s>\s0.\s\sWhether\sthe\stest\ssuite\sis\scalling\sit\ssimply\nto\stest\sTclUnixWaitForFile()\sitself\sor\sif\sit's\sneeded\sto\stest\nsomething\s"real",\sI\swas\snot\sable\sto\sdetermine.\n\n(5)\sTclUnixWaitForFile\salso\sappears\sin\sthe\sinternal\sstubs\stable.\nWhether\sthere\sare\sany\scallers\soutside\sof\sthe\score\sis\sdifficult\nto\sdetermine.\n\n
J login [email protected]
J mimetype text/plain
J username [email protected]
K 1960647fffffffffffffffffffffffffffffffff
U nobody
Z 910992cba5c6adc439c9c70c903dfe5a