summaryrefslogtreecommitdiff
path: root/source/kit/shared_mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/kit/shared_mutex.h')
-rw-r--r--source/kit/shared_mutex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/kit/shared_mutex.h b/source/kit/shared_mutex.h
index d202090..ad83418 100644
--- a/source/kit/shared_mutex.h
+++ b/source/kit/shared_mutex.h
@@ -47,7 +47,7 @@ static void kit_shared_mutex_init(kit_shared_mutex_t *m) {
memory_order_relaxed);
}
-static i8 kit_shared_try_lock(kit_shared_mutex_t *m) {
+static b8 kit_shared_try_lock(kit_shared_mutex_t *m) {
assert(m != NULL);
for (;;) {
@@ -108,7 +108,7 @@ static void kit_shared_unlock(kit_shared_mutex_t *m) {
assert(0);
}
-static i8 kit_unique_try_lock(kit_shared_mutex_t *m) {
+static b8 kit_unique_try_lock(kit_shared_mutex_t *m) {
assert(m != NULL);
i8 prev_state = KIT_SHARED_MUTEX_READY;