From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sat, 1 Dec 2012 18:42:53 -0500 To: 9fans@9fans.net Message-ID: <88df240d06e36e23de6dfb42140907e2@brasstown.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] tprivalloc, tprivfree, tprivaddr Topicbox-Message-UUID: eed06e2e-ead7-11e9-9d60-3106f5b1d025 the thread library has these undocumented functions. what doesn't make sense to me is the allocation tracking is global, while the pointers are per-thread Thread.udata[]. what's going on here? it would seem to me that the easiest way to clean this up would be to make the allocated mask part of the thread structure, if i've got the reasoning behind these functions correct. why do we also have threaddata? do we just leak the data if we kill the thread? on my system at least, none of this is used. - erik