<i>Memory leak with creating and destroying threads from C</i> status still Open with 3 other changes
by
.
D 2016-04-04T18:12:29.046
J icomment I\scan\sreproduce\sa\sleak\swith\sour\sthread\smodule\sand\sfrom\smy\smultithreaded\sapps\s(don't\stried\syour\scode)...\r\n\r\nPossibly,\syou\shave\ssomething\swrong\sin\syour\sc-code\s(resp.\syou\smiss\ssomething\sthat\sdoes\sTcl_AppInit,\sTcl_Main,\sother\ssubsystems\sresp.\ssome\sevents\sin\sTcl_init,\setc.)...\r\n\r\nFor\sexample\sdid\syou\sstill\shave\sa\sleak,\sif\syou\swill\screate\sa\snew\sthread\swith\s"Tcl_CreateThread"\sinstead\sof\s"pthread_create"?\r\n\r\nSecond,\ssimply\stest\sit\susing\sthread\smodule,\sjust\sfrom\syour\stclsh\slike\shere:\r\n\r\nload\sthread27\r\ntime\s{\sputs\s[time\s{\sthread::create\s{thread::release}\s}\s1000]\s}\s10\r\n\r\nAs\salready\ssaid,\sI\ssee\sno\sleak\sat\sall,\sif\sI\sdo\sthat\swith\scurrent\s8.5,\s8.6\sand\s8.7\s(trunk)...
J login sebres
J mimetype text/plain
K 05d9a601e45db736729ed5b7a260dd675f245bb4
U sebres
Z 3892f06431c06fae71735d16f25642f8