Cyber Garage Portable Runtime (CGPR) for C
mutex.h File Reference
#include <pthread.h>

Data Structures

struct  UEchoMutex
 

Typedefs

typedef struct UEchoMutex CGMutex
 

Functions

CGMutexcg_mutex_new (void)
 
bool cg_mutex_delete (CGMutex *mutex)
 
bool cg_mutex_lock (CGMutex *mutex)
 
bool cg_mutex_unlock (CGMutex *mutex)
 

Typedef Documentation

◆ CGMutex

typedef struct UEchoMutex CGMutex

Function Documentation

◆ cg_mutex_delete()

bool cg_mutex_delete ( CGMutex * mutex)

◆ cg_mutex_lock()

bool cg_mutex_lock ( CGMutex * mutex)

◆ cg_mutex_new()

CGMutex * cg_mutex_new ( void )

◆ cg_mutex_unlock()

bool cg_mutex_unlock ( CGMutex * mutex)