Skip to content
Tcl Source Code Artifact [18c19a728c]
Login

Artifact [18c19a728c]

Artifact 18c19a728cdf9290f2915a9a1c5f68e18fe1c822:

Ticket change [18c19a728c] - Ticket [3390699fffffffff|3390699fff] <i>socket_*-13.1 leaks</i> status still Open with 4 other changes by ferrieux on 2011-08-13 23:44:13.
D 2011-08-13T23:44:13
J icomment Some\sprogress.\sI\sdisabled\sthe\svarious\spanicky\schecks\sjust\sto\sexplore\s"what\sif"\swithout\sspending\sthe\stime\sof\sthe\soptimized\snew\s"thread\sprepared\sto\sexit"\stest.\s\n\nThen\sI\sobserved\stwo\sthings:\n\n\s-\sthere\sis\sa\srace\scondition\sdue\sto\sthreadRep\sjust\swaiting\sfor\sthe\shigher-level\s[thread\snames]\sto\sdeplete\sinstead\sof\sjoining.\sWhen\sthe\sthread\sis\snear\sthe\send\sand\shas\sremoved\sitself\sfrom\sthe\slist,\sthe\smain\sthread\squickly\sgoes\sto\s[exit]\sand\sdoesn't\sleave\sa\schance\sfor\sthe\sother\sthread\sto\sfinish\sits\scleanups.\n\n\s-\safter\sadding\sa\s[threadtest\sjoin]\sin\sthreadReap's\sloop\s(and\sa\s-joinable\sat\sthread\screation\sin\ssocket.test),\sthe\sleak\sbill\sis\smuch\sreduced:\n\n==4495==\s\s\s\sdefinitely\slost:\s84\sbytes\sin\s4\sblocks\n==4495==\s\s\s\sindirectly\slost:\s3,012\sbytes\sin\s77\sblocks\n==4495==\s\s\s\s\s\spossibly\slost:\s136\sbytes\sin\s1\sblocks\n==4495==\s\s\s\sstill\sreachable:\s418\sbytes\sin\s15\sblocks\n==4495==\s\s\s\s\s\s\s\s\ssuppressed:\s0\sbytes\sin\s0\sblocks\n\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3390699fffffffffffffffffffffffffffffffff
U ferrieux
Z c124f5f8ea85df9e6dcbfa2e00333069