Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
tbb::null_mutex Class Reference

A mutex which does nothing. More...

#include <null_mutex.h>

Inheritance diagram for tbb::null_mutex:
Collaboration diagram for tbb::null_mutex:

Classes

class  scoped_lock
 Represents acquisition of a mutex. More...
 

Public Member Functions

 null_mutex ()
 

Static Public Attributes

static const bool is_rw_mutex = false
 
static const bool is_recursive_mutex = true
 
static const bool is_fair_mutex = true
 

Detailed Description

A mutex which does nothing.

A null_mutex does no operation and simulates success.

Definition at line 27 of file null_mutex.h.

Constructor & Destructor Documentation

◆ null_mutex()

tbb::null_mutex::null_mutex ( )
inline

Definition at line 40 of file null_mutex.h.

40 {}

Member Data Documentation

◆ is_fair_mutex

const bool tbb::null_mutex::is_fair_mutex = true
static

Definition at line 45 of file null_mutex.h.

◆ is_recursive_mutex

const bool tbb::null_mutex::is_recursive_mutex = true
static

Definition at line 44 of file null_mutex.h.

◆ is_rw_mutex

const bool tbb::null_mutex::is_rw_mutex = false
static

Definition at line 43 of file null_mutex.h.


The documentation for this class was generated from the following file:

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.