Skip to content
Tcl Source Code Artifact [437a60c101]
Login

Artifact [437a60c101]

Artifact 437a60c10163e24fc9c0bd79c133833bbc8b5537:

Ticket change [437a60c101] - Ticket [723502ffffffffff|723502ffff] <i>Directory Read Bug w/TCL_THREADS</i> status still Open with 4 other changes by vasiljevic on 2003-05-12 15:32:28.
D 2003-05-12T15:32:28
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nWell,\sthe\sreaddir_r\sis\ssupposed\sto\sbe\sthread-safe,\sbut\s\non\sosx,\swhen\smany\sthreads\sare\sdoing:\s\n\s\n\s\sopendir\s\n\s\sreaddir_r\s\n\s\sclosedir\s\n\s\nin\sparallel,\syou\sget\smemory\scorruption\sin\sclosedir\s\nafter\sa\swhile.\s\s\nWhat\sI\sdid\swas\swrap\sall\sthose\swith\smy\sown\swrappers\s\nwith\smy_opendir\sdoing\sthe\sactual\sopendir,\sslurping\s\nall\sdir\sentries\sin\san\slinked\slist\swith\sreaddir_r\sand\s\nmy_readdir\ssimply\straversing\sthis\slist.\sThe\smy_closedir\s\nfrees\sthe\swhole\sthing.\sAll\swork\sof\smy_opendir\sis\sdone\s\nunder\smutex\sprotection.\sThis\swas\sthe\sonly\sway\sI\scould\s\nsolve\sthe\smemory-trashing,\swhich\shappens\sotherwise.\s\n\s\nI'm\snot\ssure\syou\scan\splug\sthis\sinto\sTcl\scurrent\slayout\s\neasily.\sThat's\swhy\sI\ssuggest\sto\swait\sfor\sApple\sto\scatch\s\nup\sand\supdate\sthe\sOS\sand\scorrect\sthe\sbug.\s\n\s\nNo;\sI\shaven't\sposted\sa\sbug\sto\sApple\syet.\sSomehow\sI\shave\s\na\svery\sbad\sfeeling\sabout\sthat\s(i.e.\swaste\sof\stime)\sjudging\s\nfrom\smy\sown\sprevious\sexperiences\swith\sthe\scompany.\s\s\nBut\sI\smay\sbe\swrong\sand\sthings\smay\shave\schanged\ssince...\s\n\s\nZoran\s\n\s\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 723502ffffffffffffffffffffffffffffffffff
U vasiljevic
Z be8b0f2d743cd35ed49268da855b68a8