RTXI  2.4
The Real-Time eXperiment Interface Documentation
Data Structures | Public Types | Public Member Functions
Mutex Class Reference

#include <mutex.h>

Collaboration diagram for Mutex:
Collaboration graph

Data Structures

class  Locker
 

Public Types

enum  type_t { FAST, RECURSIVE }
 

Public Member Functions

 Mutex (type_t type=FAST)
 
 ~Mutex (void)
 
void lock (void)
 
void unlock (void)
 
bool tryLock (void)
 

Detailed Description

Definition at line 28 of file mutex.h.

Member Enumeration Documentation

◆ type_t

Enumerator
FAST 
RECURSIVE 

Definition at line 56 of file mutex.h.

Constructor & Destructor Documentation

◆ Mutex()

Mutex::Mutex(Mutex::type_t type = FAST)

Definition at line 35 of file mutex.cpp.

◆ ~Mutex()

Mutex::~Mutex(void )

Definition at line 53 of file mutex.cpp.

Member Function Documentation

◆ lock()

void Mutex::lock(void )

Definition at line 58 of file mutex.cpp.

Here is the call graph for this function:

◆ tryLock()

bool Mutex::tryLock(void )

Definition at line 78 of file mutex.cpp.

◆ unlock()

void Mutex::unlock(void )

Definition at line 73 of file mutex.cpp.


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