<i>Bug fix: #219205 and 219333 (event drop)</i> status still Closed with 4 other changes
by
.
D 2002-12-19T02:14:23
J icomment Logged\sIn:\sYES\s\nuser_id=671771\n\nWe\shave\sseen\sa\ssimilar\sproblem\sin\sversion\s8.3.2.\s\sWe\s\ndetermined\sthat\sit\shas\sto\sdo\swith\sthe\sFD_ACCEPT\sbit\sbeing\s\ncleared\sprematurely\swhen\stwo\s"accept"\sevents\scome\sin\s\nsimultaneously.\s\sThis\shappens\sdue\sto\sa\srace\scondition\sin\sthe\s\ncode\swhere\sthe\sinfoPtr's\sacceptEventCount\sis\schecked\sand\s\nthe\sflag\sis\ssubsequntly\scleared.\s\sIf\san\saccept\sevent\soccurs\s\nduring\sthis\soperation,\sit\swill\snever\sbe\sprocessed\sif\sthe\s\nFD_ACCEPT\sflag\sis\scleared\sby\sthe\stcl\sapplication\sthread\safter\s\nit\shas\sbeen\sset\sby\sthe\s"SocketProc"\sthread.\s\sWe\sfixed\sthis\sby\s\nprotecting\saccess\sto\sthis\sflag\sand\sthe\sacceptEventCount\s\nvariable\swith\sa\scritical\ssection\sobject.\s\sIf\sanyone\swould\slike\s\nmore\sdetails\sabout\sour\sfix,\splease\slet\sme\sknow.\n
J login kensdorf
J mimetype text/plain
J username kensdorf
K 410674ffffffffffffffffffffffffffffffffff
U kensdorf
Z d39dd3204eef9fee9376fc1e7e052a2e