mutex Class — Class that models the Mutex Concept using underlying OS locks.
A mutex
models the Mutex Concept. It is a wrapper around OS calls that provide mutual exclusion. Here are the advantages of using a mutex
instead of the OS calls:
The mutex
class is portable across all operating systems supported by Intel Threading Building Blocks.
The mutex
releases the lock if an exception is thrown from the protected region of code.
18.118.120.109