Skip to content
Tcl Source Code Artifact [b1e193718f]
Login

Artifact [b1e193718f]

Artifact b1e193718fb0c53fdb3031536a120418bbd515cb:

Ticket change [b1e193718f] - Ticket [731356ffffffffff|731356ffff] <i>Win32 non-TLS thread storage patch...</i> status still Open with 4 other changes by mistachkin on 2003-05-11 18:41:09.
D 2003-05-11T18:41:09
J icomment Logged\sIn:\sYES\s\nuser_id=113501\n\nI've\smade\ssome\sprogress\son\smaking\sthis\spatch\s\nfor\s"generic".\s\sHowever,\sI\shave\sa\scouple\squestions.\s\sI\s\nneed\sa\sway\sto\sinitialize/finalizing\sa\smutex\sWITHOUT\s\nhaving\sckalloc/ckfree\sbeing\scalled.\s\sI\sstill\sneed\s\nInitializeCriticalSection/DeleteCriticalSection\s(or\stheir\s\nUnix/Mac\sequivalents)\sto\sbe\scalled\sfor\sthe\smutex.\s\sThe\s\nthreaded\smemory\sallocator\scurrently\suses\s\nTclpNewAllocMutex\s(a\svery\spuzzling\sfunction)\sand\sthen\s\nnever\sfinalizes\sthe\smutex.\s\sThe\sTclpNewAllocMutex\sis\s\npoorly\sdocumented\sand\sin\sthe\scase\sof\sTCL_THREADS\s\nwithout\sUSE_THREAD_ALLOC,\sunavailable.\s\sI\sfeel\sthere\s\nshould\sbe\snew\splatform\sspecific\sfunctions\sadded\sto\sthe\s\ntcl{Unix|Win|Mac}Thrd.c\sfiles,\ssuch\sas\s\nTclpInitMutex/TclpDeleteMutex.\s\sFor\splatforms\sthat\sdo\s\nnot\srequire\sthese\ssteps,\sthe\sfunctions\scan\sbe\sempty.\n\n
J login mistachkin
J mimetype text/plain
J username mistachkin
K 731356ffffffffffffffffffffffffffffffffff
U mistachkin
Z bc5946cd62755e505b5bef005ef5ec8e