Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
mutex.h File Reference
#include <Inventor/C/basic.h>
#include <Inventor/C/threads/common.h>

Go to the source code of this file.

Functions

cc_mutexcc_mutex_construct (void)
 
void cc_mutex_destruct (cc_mutex *mutex)
 
void cc_mutex_lock (cc_mutex *mutex)
 
int cc_mutex_try_lock (cc_mutex *mutex)
 
void cc_mutex_unlock (cc_mutex *mutex)
 

Function Documentation

◆ cc_mutex_construct()

cc_mutex* cc_mutex_construct ( void  )

Constructs a mutex.

◆ cc_mutex_destruct()

void cc_mutex_destruct ( cc_mutex mutex)

Destroys the mutex specified.

◆ cc_mutex_lock()

void cc_mutex_lock ( cc_mutex mutex)

Locks the the mutex specified.

◆ cc_mutex_try_lock()

int cc_mutex_try_lock ( cc_mutex mutex)

Tests the specified mutex to see it is already locked.

◆ cc_mutex_unlock()

void cc_mutex_unlock ( cc_mutex mutex)

Unlocks the specified mutex.