Mutex#

Functions

sfMutex *sfMutex_create(void)#

Create a new mutex.

Returns:

A new sfMutex object

void sfMutex_destroy(sfMutex *mutex)#

Destroy a mutex.

Parameters:
  • mutex – Mutex to destroy

void sfMutex_lock(sfMutex *mutex)#

Lock a mutex.

Parameters:
  • mutex – Mutex object

void sfMutex_unlock(sfMutex *mutex)#

Unlock a mutex.

Parameters:
  • mutex – Mutex object