- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the reason for the comment "For testing purposes only" in the doxygen documentation for tbb mutex?
http://threadingbuildingblocks.org/files/documentation/a00142.html#_details
Does this mean I should avoid using tbb::mutex in production code?
Thank you,
Sigmund
http://threadingbuildingblocks.org/files/documentation/a00142.html#_details
Does this mean I should avoid using tbb::mutex in production code?
Thank you,
Sigmund
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That should probably be corrected, because from time to time you do want a kernel-level mutex (cheap long waits) instead of a spin mutex (cheap short waits), although you might as well use the C++11 wrapper instead (presumably that's what it is, with a spin mutex rather conspicuously lacking from the new standard).
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