musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h 3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h
index bba9587e..e238321b 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -79,6 +79,9 @@ int pthread_detach(pthread_t);
_Noreturn void pthread_exit(void *);
int pthread_join(pthread_t, void **);
+#ifdef __GNUC__
+__attribute__((const))
+#endif
pthread_t pthread_self(void);
int pthread_equal(pthread_t, pthread_t);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月11日 10:10:38 +0000

AltStyle によって変換されたページ (->オリジナル) /