Loading...
Searching...
No Matches
Mutex.h File Reference

Go to the source code of this file.

Functions

sfMutexsfMutex_create (void)
 Create a new mutex.
 
void sfMutex_destroy (sfMutex *mutex)
 Destroy a mutex.
 
void sfMutex_lock (sfMutex *mutex)
 Lock a mutex.
 
void sfMutex_unlock (sfMutex *mutex)
 Unlock a mutex.
 

Function Documentation

◆ sfMutex_create()

sfMutex * sfMutex_create ( void  )

Create a new mutex.

Returns
A new sfMutex object

◆ sfMutex_destroy()

void sfMutex_destroy ( sfMutex mutex)

Destroy a mutex.

Parameters
mutexMutex to destroy

◆ sfMutex_lock()

void sfMutex_lock ( sfMutex mutex)

Lock a mutex.

Parameters
mutexMutex object

◆ sfMutex_unlock()

void sfMutex_unlock ( sfMutex mutex)

Unlock a mutex.

Parameters
mutexMutex object