|
Boost : |
From: Philippe A. Bouchard (philippe_at_[hidden])
Date: 2003-06-29 15:38:01
Howard Hinnant wrote:
> On Sunday, June 29, 2003, at 07:17 AM, Philippe A. Bouchard wrote:
>
>> What I was looking for was to gather information for each specific
>> thread
>> about their heap usages. A thread oriented implementation would
>> allow synchronized information without using mutexes.
>
> Hmm... would thread_specific_ptr<malloc_pool> (or something like that)
> help out?
So the tss:set() is the portable function that takes care of matching some
value with a specific key. It seems to be instanteneous.
Thanks,
Philippe A. Bouchard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk