Skip to content
Tcl Source Code Artifact [881d3fd163]
Login

Artifact [881d3fd163]

Artifact 881d3fd163f795599683183c33fb83ea4bb053f6:

Ticket change [881d3fd163] - Ticket [731356ffffffffff|731356ffff] <i>Win32 non-TLS thread storage patch...</i> status still Open with 4 other changes by kennykb on 2003-05-11 00:25:37.
D 2003-05-11T00:25:37
J icomment Logged\sIn:\sYES\s\nuser_id=99768\n\nThis\sis\sstarting\sto\slook\sgood!\n\nJust\sa\sfew\scomments\sbefore\sit\sgets\scommitted:\n\n(1)\sI'd\sbe\sa\sbit\smore\scomfortable\sif\sSTORAGE_CACHE_SLOTS\n\s\s\s\swere\sa\sprime\snumber.\s\sConsider\sthat\son\sat\sleast\sone\n\s\s\s\sversion\sof\sWindows,\sthe\sthread\sID\sis\salways\sa\smultiple\n\s\s\s\sof\sfour;\sthis\smeans\sthat\sthe\sposition\sin\sthe\scache\swill\n\s\s\s\salso\sbe\sa\smultiple\sof\sfour,\sgiving\sus\sonly\s25\seffective\n\s\s\s\sslots\sinstead\sof\s100.\sCould\swe\sperhaps\smake\sit\s97\n\s\s\s\sinstead?\s\sAnother\spoint\sis\sthat\swe\smight\swant\sto\n\s\s\s\sconsider\smaking\sit\sa\svariable\sinstead\sof\sa\sconstant.\sThe\n\s\s\s\sadvantage\sto\sthis\sis\sthat\swe\scould\scompile\stcltest\swith\n\s\s\s\sa\svery,\svery\ssmall\svalue\s(2\sperhaps)\sand\sthus\smake\ssure\n\s\s\s\sof\stest\scoverage\sin\sthe\scache\smiss\slogic.\n\n(2)\sSeveral\snew\sTcl*\sfunctions\shave\sbeen\sadded.\sIt's\n\s\s\s\sgenerally\sconsidered\sgood\spractice\sto\sput\sthem\sin\n\s\s\s\stclInt.decls\s--\sbut\sopinions\svary\sabout\sthe\suse\sof\sthe\n\s\s\s\sinternal\sstubs\stable,\sso\sI'll\sbe\swilling\sto\sbe\sconvinced\n\s\s\s\sotherwise.\n\n(3)\sSeveral\sfunctions\sin\sthe\snew\scode\slack\sprologue\n\s\s\s\scomments.\s\sIt\swould\sbe\snice\sif\sthese\scould\sget\swritten\n\s\s\s\sbefore\scommitting.\n\n(4)\sThe\smanagement\sscheme\sthat\swe've\sarrived\sat\sfor\sthread\n\s\s\s\sspecific\sdata\sis\sactually\splatform\sneutral.\sGiven\sthat\n\s\s\s\swe've\salready\sencountered\sone\splatform\swith\san\sawkward\n\s\s\s\shard\slimit\son\sthread\sspecific\sdata\sblocks,\sI'd\snot\sbe\n\s\s\s\swilling\sto\slay\slong\sodds\sthat\sthere\sis\sno\sother.\sI\n\s\s\s\swonder\sif\swe\sshould\smove\sthe\splatform-neutral\sTSD\n\s\s\s\smanagement\slogic\sto\sgeneric/tclThread.c\sinstead\sof\n\s\s\s\scalling\sit\sWindows\scode.\n\n(5)\sWhat's\sthe\sdifference\sbetween\sTCL_NO_TLS\sand\n\s\s\s\sTCL_THREAD_ALLOC_NO_TLS?\sDo\swe\sneed\sboth\sflags?\n\s\s\s\s(Actually,\sI\swonder,\sgiven\show\sbadly\sWindows\sdoes\sthis,\n\s\s\s\swhether\swe\sneed\seither,\sor\swhether\swe\sjust\swant\sto\suse\n\s\s\s\sour\sown\ssystem\sexclusively.)\n\nNice\sjob\s-\sI'm\stempted\sto\ssay\sthat\swe\sshould\sjust\suse\sit\nfor\sALL\sour\sTSD\smanagement,\sirrespective\sof\splatform.\n
J login kennykb
J mimetype text/plain
J username kennykb
K 731356ffffffffffffffffffffffffffffffffff
U kennykb
Z b9a4c16534992900643c144ea0be24a7