I've heard various people make the claim that using __thread variables is 
*much* faster than pthread_get/setspecific(). However, when I look at the code 
emitted as well as the implementation of the get/setspecific api, it appears to 
me that _thread variables might be somewhat faster in binaries but actually 
might be slower in shared libraries.
  Does anyone have any fine grained experience that would help in determining 
the tradeoffs involved? Thanks
This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to