As I can see at: http://gcc.gnu.org/projects/cxx0x.html thread_local keyword is unfortunately unsupported in gcc yet.
Are there any alternatives for that? I don't want to use boost library.
See Question&Answers more detail:osAs I can see at: http://gcc.gnu.org/projects/cxx0x.html thread_local keyword is unfortunately unsupported in gcc yet.
Are there any alternatives for that? I don't want to use boost library.
See Question&Answers more detail:osThe gcc compiler has a storage class __thread
that might be close enough.
http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/Thread-Local.html