Open Lighting Architecture: ola::plugin::opendmx::Mutex Class Reference

| Open Lighting Architecture 0.10.9

Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
ola::plugin::opendmx::Mutex Class Reference

## Detailed Description

A Mutex object

## Public Member Functions
| Mutex ()
| ~Mutex ()
void | Lock ()
bool | TryLock ()
void | Unlock ()

## Friends
class | ConditionVariable

## Constructor & Destructor Documentation

## ◆ Mutex()

ola::thread::Mutex::Mutex | ( |  | ) |

Construct a new mutex object

## ◆ ~Mutex()

ola::thread::Mutex::~Mutex | ( |  | ) |

Clean up

## Member Function Documentation

## ◆ Lock()

void ola::thread::Mutex::Lock | ( |  | ) |

Lock this mutex

## ◆ TryLock()

bool ola::thread::Mutex::TryLock | ( |  | ) |

Try and lock this mutex

Returns
  true if we got the lock, false otherwise

## ◆ Unlock()

void ola::thread::Mutex::Unlock | ( |  | ) |

Unlock this mutex

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

- include/ola/thread/Mutex.h
- common/thread/Mutex.cpp