[M3devel] Per thread data
Tony Hosking
hosking at cs.purdue.edu
Tue Sep 14 14:07:39 CEST 2010
Why not just allocate in the heap and hold a reference in the thread closure?
On 14 Sep 2010, at 00:14, Darko wrote:
> I need to have certain data structures allocated on a per thread basis. Right now I'm thinking of using the thread id from ThreadF.MyId() to index a list. Is there a better, more portable way of allocating on a per-thread basis?
>
> Cheers,
> Darko.
>
More information about the M3devel
mailing list