summaryrefslogtreecommitdiff
path: root/src/platform/mutex.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 16:35:11 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 16:35:11 +1000
commitfc35df8e999521b8be7c44800f4ff4665df3254a (patch)
tree2acc67b9830e712bef78270c6478c61e184f2047 /src/platform/mutex.h
parent55bb30899899d1e6f34e85d87909d5108d085adb (diff)
heightmap function signatures
Diffstat (limited to 'src/platform/mutex.h')
-rw-r--r--src/platform/mutex.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/platform/mutex.h b/src/platform/mutex.h
index 0552ea2..a0a4208 100644
--- a/src/platform/mutex.h
+++ b/src/platform/mutex.h
@@ -1,12 +1,12 @@
/**
* @file mutex.h
* @author your name (you@domain.com)
- * @brief
+ * @brief
* @version 0.1
* @date 2024-04-27
- *
+ *
* @copyright Copyright (c) 2024
- *
+ *
*/
#include <stdbool.h>
@@ -16,10 +16,12 @@ cel_mutex mutex_create();
void mutex_destroy(cel_mutex* mutex);
-/** @brief Blocks until the mutex can be acquired. if returns false then an error occurred and can be checked (TODO) */
+/** @brief Blocks until the mutex can be acquired. if returns false then an error occurred and can
+ * be checked (TODO) */
bool mutex_lock(cel_mutex* mutex);
-/** @brief Tries to acquire the mutex like `mutex_lock` but returns immediately if the mutex has already been locked */
+/** @brief Tries to acquire the mutex like `mutex_lock` but returns immediately if the mutex has
+ * already been locked */
bool mutex_try_lock(cel_mutex* mutex);
/** @brief Releases a mutex. If it is already unlocked then does nothing */