From 27dae84ed92f1ef0300263091972338d12e78348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 18 Oct 2025 19:06:52 +0200 Subject: New upstream version 1.4.1 --- tests/glthread/thread.c | 4 ++-- tests/glthread/thread.h | 7 +------ tests/glthread/yield.h | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) (limited to 'tests/glthread') diff --git a/tests/glthread/thread.c b/tests/glthread/thread.c index 034abaad..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 @@ -34,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 -/* On IRIX, pthread_atfork is declared in , not in . */ -# if defined __sgi -# include -# 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 -- cgit v1.2.3 From 5f59a34ab747dde8ede7357f3431bf06bd6002fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 8 Mar 2026 17:28:33 +0100 Subject: New upstream version 1.4.2 --- tests/glthread/thread.c | 6 ++---- tests/glthread/thread.h | 2 +- tests/glthread/yield.h | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'tests/glthread') diff --git a/tests/glthread/thread.c b/tests/glthread/thread.c index 2d015b6b..8182c7fd 100644 --- a/tests/glthread/thread.c +++ b/tests/glthread/thread.c @@ -1,5 +1,5 @@ /* Creating and controlling threads. - Copyright (C) 2005-2025 Free Software Foundation, Inc. + Copyright (C) 2005-2026 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 @@ -208,9 +208,7 @@ gl_thread_t gl_thread_create (void *(*func) (void *arg), void *arg) { gl_thread_t thread; - int ret; - - ret = glthread_create (&thread, func, arg); + int ret = glthread_create (&thread, func, arg); if (ret != 0) abort (); return thread; diff --git a/tests/glthread/thread.h b/tests/glthread/thread.h index 9db5eef5..c8cb28a2 100644 --- a/tests/glthread/thread.h +++ b/tests/glthread/thread.h @@ -1,5 +1,5 @@ /* Creating and controlling threads. - Copyright (C) 2005-2025 Free Software Foundation, Inc. + Copyright (C) 2005-2026 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 diff --git a/tests/glthread/yield.h b/tests/glthread/yield.h index 9b43b336..99515d31 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-2025 Free Software Foundation, Inc. + Copyright (C) 2005-2026 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 -- cgit v1.2.3