Summary

Class that models Mutex Concept buts does nothing.

Syntax

class null_mutex;

Header

#include "tbb/null_mutex.h"

Description

A null_mutex models the Mutex Concept syntactically, but does nothing. It is useful for instantiating a template that expects a Mutex, but no mutual exclusion is actually needed for that instance.

Members

See Mutex Concept.

See Also

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.