Summary

Class that models ReaderWriterMutex Concept but does nothing.

Syntax

class null_rw_mutex;

Header

#include "tbb/null_rw_mutex.h"

Description

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

Members

See ReaderWriterMutex concept.

有关编译器优化的更完整信息,请参阅优化通知