From 0f30d227497418c6d3bef7d52244407e30454504 Mon Sep 17 00:00:00 2001 From: Kacper Date: Mon, 22 Dec 2025 23:27:56 +0100 Subject: Added c11 threads, fixed some locks and add *_unlocked functions --- lib/libc/thread/thrd_equal.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/libc/thread/thrd_equal.c (limited to 'lib/libc/thread/thrd_equal.c') diff --git a/lib/libc/thread/thrd_equal.c b/lib/libc/thread/thrd_equal.c new file mode 100644 index 00000000..25cfd963 --- /dev/null +++ b/lib/libc/thread/thrd_equal.c @@ -0,0 +1,6 @@ +#include + +int thrd_equal(thrd_t thr0, thrd_t thr1) +{ + return thr0 == thr1; +} -- cgit v1.2.3