<i>Threaded allocator cannot be disabled in Tcl 9: -DUSE_THREAD_ALLOC=0 and nmake OPTS=tclalloc ignored</i> status still Open with 3 other changes
by
.
D 2026-10-17T13:04:57.602
J icomment Proposed\sfix\sin\sbranch\s[/timeline?r=thread-alloc-off-switch|thread-alloc-off-switch]:\s<tt>tclInt.h</tt>\sundefines\s<tt>USE_THREAD_ALLOC</tt>\swhen\sit\sis\sdefined\sas\s0,\sand\s<tt>win/rules.vc</tt>\spasses\s<tt>/DUSE_THREAD_ALLOC=0</tt>\sfor\s<tt>OPTS=tclalloc</tt>\swith\sTcl\s9.\sBoth\sa\sUnix\sbuild\swith\s<tt>CFLAGS=-DUSE_THREAD_ALLOC=0</tt>\sand\san\snmake\sbuild\swith\s<tt>OPTS=tclalloc</tt>\snow\sget\s<tt>TclpAlloc</tt>\sfrom\stclAlloc.c,\sand\spass\sthe\stests.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 31294d48efe6ead48dcd44677774b026045d5cb6
U serhiy.storchaka
Z 4bab0cd620dd630a68c1af12a295b72a