- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've been through a few threads on the tbb forum that talk about atomic and the lack ofunfenced/relaxed memomy semantic, but I didn't managed tounderstand the reasons of that choice.
Can someone explain? Isn't unfenced semantic usefull (when the processor supports it at least)?
Regards
I've been through a few threads on the tbb forum that talk about atomic
Can someone explain? Isn't unfenced semantic usefull (when the processor supports it at least)?
Regards
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
x86 doesn't...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Relaxed atomics are definitely useful. The usage that justifies them single-handed is atomic reference counting.
My guess as to why TBB does not feature relaxed atomics is that, well, it's heavily rooted in x86 systems regardless of declared portability. Another possible reason is that AFAICT TBB is never declare atomics as a first-class user API.
My guess as to why TBB does not feature relaxed atomics is that, well, it's heavily rooted in x86 systems regardless of declared portability. Another possible reason is that AFAICT TBB is never declare atomics as a first-class user API.

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