From: Bronek Kozicki (brok_at_[hidden])
Date: 2004-07-28 04:02:47
Vladimir Prus wrote:
> It looks like your global table indexed by thread ID is just reinvention of
> TSS, which is guaranteed to be slower.
> And, BTW, you can't have simple vector indexed by thread id -- because in
> NTPL thread ids do not start with zero. So you'd need std::map, which might
> be really slow, or some custom map, which doesn't exist yet.
I'd rather waste someting like 64KB memory and make it simple and fast
table of pointers.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk