diff options
Diffstat (limited to 'tests/glthread')
-rw-r--r-- | tests/glthread/thread.c | 5 | ||||
-rw-r--r-- | tests/glthread/thread.h | 7 | ||||
-rw-r--r-- | tests/glthread/yield.h | 2 |
3 files changed, 4 insertions, 10 deletions
diff --git a/tests/glthread/thread.c b/tests/glthread/thread.c index 9c8c3035..2d015b6b 100644 --- a/tests/glthread/thread.c +++ b/tests/glthread/thread.c @@ -1,5 +1,5 @@ /* Creating and controlling threads. - Copyright (C) 2005-2024 Free Software Foundation, Inc. + Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -23,7 +23,6 @@ #include "glthread/thread.h" #include <stdlib.h> -#include "glthread/lock.h" /* ========================================================================= */ @@ -35,7 +34,7 @@ struct thrd_with_exitvalue void * volatile exitvalue; }; -/* The Thread-Specific Storage (TSS) key that allows to access each thread's +/* The Thread-Specific Storage (TSS) key that allows accessing each thread's 'struct thrd_with_exitvalue *' pointer. */ static tss_t thrd_with_exitvalue_key; diff --git a/tests/glthread/thread.h b/tests/glthread/thread.h index 748bb045..9db5eef5 100644 --- a/tests/glthread/thread.h +++ b/tests/glthread/thread.h @@ -1,5 +1,5 @@ /* Creating and controlling threads. - Copyright (C) 2005-2024 Free Software Foundation, Inc. + Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -133,11 +133,6 @@ extern _Noreturn void gl_thread_exit (void *return_value); /* Get intptr_t. */ # include <stdint.h> -/* On IRIX, pthread_atfork is declared in <unistd.h>, not in <pthread.h>. */ -# if defined __sgi -# include <unistd.h> -# endif - # if USE_POSIX_THREADS_WEAK /* Compilers other than GCC need to see the declaration of pthread_sigmask before the "#pragma weak pthread_sigmask" below. */ diff --git a/tests/glthread/yield.h b/tests/glthread/yield.h index 29105cc2..9b43b336 100644 --- a/tests/glthread/yield.h +++ b/tests/glthread/yield.h @@ -1,5 +1,5 @@ /* Yielding the processor to other threads and processes. - Copyright (C) 2005-2024 Free Software Foundation, Inc. + Copyright (C) 2005-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as |