From 3474d7f67451d475a18197f4152ac864258232fa Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 23 Jun 2024 23:04:04 +0200 Subject: [PATCH] Add PTHREAD_NULL. --- libc/include/pthread.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 290bafb6..4615aa16 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h @@ -168,6 +168,8 @@ struct pthread_cond_elem #define PTHREAD_ONCE_INIT { PTHREAD_NORMAL_MUTEX_INITIALIZER_NP, 0 } +#define PTHREAD_NULL ((pthread_t) 0) + #if defined(__is_sortix_libc) struct pthread_key