diff options
Diffstat (limited to 'lib/libc/thread/thrd_equal.c')
| -rw-r--r-- | lib/libc/thread/thrd_equal.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <threads.h> + +int thrd_equal(thrd_t thr0, thrd_t thr1) +{ + return thr0 == thr1; +} |
