Subj : Re: Non-strictly-conforming and unspecified versus undefined To : comp.programming.threads,comp.std.c From : Marcin 'Qrczak' Kowalczyk Date : Tue Feb 22 2005 10:30 pm "David Schwartz" writes: >> Not "a lot", because thread-specific addresses can be implemented >> in terms of thread-specific objects with only one extra indirection. > > On every conceivable platform? He said it "can be alot faster on some > platforms" and you reply with an optimization that works only on some > platforms (and often burns a register as well). Of course it works on every platform. If you can have a thread-private object, just store a pointer to an object living in a shared heap there. If one additional indirection is "a lot slower", then I don't know what can be "a bit slower". -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/ .