1#ifndef KORE_THREADS_MUTEX_HEADER
2#define KORE_THREADS_MUTEX_HEADER
6#include <kore3/backend/mutex.h>
55 kore_uber_mutex_impl impl;
Provides basic functionality that's used all over the place. There's usually no need to manually incl...
KORE_FUNC void kore_uber_mutex_lock(kore_uber_mutex *mutex)
Locks an uber-mutex.
KORE_FUNC void kore_mutex_lock(kore_mutex *mutex)
Locks a mutex. A mutex can only be locked from one thread - when other threads attempt to lock the mu...
KORE_FUNC void kore_uber_mutex_destroy(kore_uber_mutex *mutex)
Destroys an uber-mutex-obejct.
KORE_FUNC void kore_mutex_destroy(kore_mutex *mutex)
Destroys a mutex-object.
KORE_FUNC void kore_mutex_unlock(kore_mutex *mutex)
Unlocks the mutex which then allows other threads to lock it.
KORE_FUNC void kore_mutex_init(kore_mutex *mutex)
Initializes a mutex-object.
KORE_FUNC bool kore_uber_mutex_init(kore_uber_mutex *mutex, const char *name)
Initializes an uber-mutex-object.
KORE_FUNC bool kore_mutex_try_to_lock(kore_mutex *mutex)
Attempts to lock the mutex which will only succeed if no other thread currently holds the lock.
KORE_FUNC void kore_uber_mutex_unlock(kore_uber_mutex *mutex)
Unlocks an uber-mutex.