<i>WinSock cores/hangs on thread or app exit</i> status still Open with 4 other changes
by
.
D 2006-03-15T02:19:33
J icomment Logged\sIn:\sYES\s\nuser_id=7549\n\nI\salready\sexplained\swhy\sin\semail.\s\sThe\sproblem\sis\snot\sswept\nunder\sthe\scarpet.\s\sBy\sremoving\sthe\stimeout\sand\sreplacing\nwith\sinfinite,\syou\shave\screated\sa\ssituation\swhere\sa\sdeadlock\ncan\shappen.\n\nLet's\sgo\sover\sthis\sagain..\s\sactually,\swhy\sdon't\sI\sjust\spaste\nmy\semail\shere\sinstead..\n\nZoran,\n\nIt\sisn't\sa\stimer,\sit's\sa\swait\swith\sa\stimeout.\s\sIt\swaits\sfor\nthe\sasync\snotification\swindow\sto\sbe\sin\sa\sready\sstate\sfor\suse\nby\sWSAAsyncSelect.\sIf\sit\sreally\sis\staking\sover\s20\sseconds\sto\ncreate\sa\swindow\sin\sa\sthread,\ssomething\selse\sis\swrong.\s\sThe\nstate\sleft\safter\sthe\stimeout\sisn't\sundefined.\s\sAll\spublics\ndo\sthe\sSocketsEnabled()\scheck\sto\ssee\sthat\sthe\ssystem\sis\nusable,\selse\spunt.\s\sI\sdon't\ssee\show\susing\san\sinfinite\ntimeout\smakes\sit\swait\sless\sfor\sthe\swindow\sto\sbecome\sready.\n\nIf\syou\shave\spatches\sfor\simprovements,\sgo\sfor\sit,\sespecially\nregarding\show\sTcl\sdoes\sa\stear-down.\s\sYes,\sI\sagree\sthat\sthe\nI/O\ssystem\stear-down\sis\sa\sbit\sbackassward.\n\n
J login davygrvy
J mimetype text/plain
J username davygrvy
K 1437595fffffffffffffffffffffffffffffffff
U davygrvy
Z a420907636671ae3ac9b595c0d30281e