- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm new of the Intel compiler. I'm interested about the support of the new C++11 by the Intel compiler and in particular on concurrency features. I read here http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler that the latest version has complete support of atomic operations and partial support of thread-local storage. What are the limitation on using the thread-local storage?
Thank you
Salvatore
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Salvatore,
>>...
>>What are the limitation on using the thread-local storage?
You can review a list of some limitations for TLS on MSDN: C Language Reference Topic: Thread Local Storage ( TLS )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We only have partial tls support because the standard requires support for dynamic initialization and destruction of thread-local variables, which no compiler has yet implemented.
We also don’t support the exact keyword that the standard requires (the standard says the keyword is “thread_local” but we only support “__thread”).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Judy, was about to respond to, but you already did, appreciate much.
Regards,
Kittur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>We only have partial tls support because the standard requires support for dynamic initialization and destruction of thread-local variables, which no compiler has yet implemented.
That should be a relatively straitforward thing to do....
Jim Dempsey
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page