Turi Create
4.0
|
#include <core/parallel/mutex.hpp>
Public Member Functions | |
recursive_mutex () | |
constructs a mutex | |
recursive_mutex (const recursive_mutex &) | |
void | lock () const |
Acquires a lock on the mutex. | |
void | unlock () const |
Releases a lock on the mutex. | |
bool | try_lock () const |
Non-blocking attempt to acquire a lock on the mutex. | |
Simple wrapper around pthread's recursive mutex. Before you use, see parallel_object_intricacies.
|
inline |