erik quanstrom
2012-12-01 23:42:53 UTC
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
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