
27 Jul
2004
27 Jul
'04
8:21 p.m.
Michael Glassford wrote:
True, you could implement thread-specific variables as thread class members, but why would you want to? One immediately obvious disadvantage is that you would then need to modify the thread class whenever you needed to add, change, or remove a thread-specific global variable.
Maybe that's not so bad idea, assuming that thread class is template and thread variables are members of its policy class? B.