mutex Class

Summary

Class that models Mutex Concept using underlying OS locks.

Syntax

class mutex;

Header

#include "tbb/mutex.h"

Description

A mutex models the Mutex Concept. It is a wrapper around OS calls that provide mutual exclusion. The advantages of using mutex instead of the OS calls are:

Members

See Mutex Concept.

See Also