tbb mutex - "For testing purposes only", why?

tbb mutex - "For testing purposes only", why?

What is the reason for the comment "For testing purposes only" in the doxygen documentation for tbb mutex?


Does this mean I should avoid using tbb::mutex in production code?

Thank you,

2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

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).

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen