summaryrefslogtreecommitdiffstats
path: root/gl/glthread/lock.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-03-26 12:53:53 +0100
committerGitHub <noreply@github.com>2026-03-26 12:53:53 +0100
commit13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch)
tree3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/glthread/lock.h
parent9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff)
downloadmonitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz
Update/gnulib 2026 03 (#2247)
* Sync with the 202601-stable Gnulib code (4a3650d887) * Ignore more deps stuff in gnulib * Remove autogenerated gnulib files * Ignore more gnulib generated headers
Diffstat (limited to 'gl/glthread/lock.h')
-rw-r--r--gl/glthread/lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/glthread/lock.h b/gl/glthread/lock.h
index d6ccc202..d8190b6c 100644
--- a/gl/glthread/lock.h
+++ b/gl/glthread/lock.h
@@ -1,5 +1,5 @@
1/* Locking in multithreaded situations. 1/* Locking in multithreaded situations.
2 Copyright (C) 2005-2025 Free Software Foundation, Inc. 2 Copyright (C) 2005-2026 Free Software Foundation, Inc.
3 3
4 This file is free software: you can redistribute it and/or modify 4 This file is free software: you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as 5 it under the terms of the GNU Lesser General Public License as
@@ -239,7 +239,7 @@ typedef pthread_rwlock_t gl_rwlock_t;
239# endif 239# endif
240# define glthread_rwlock_init(LOCK) \ 240# define glthread_rwlock_init(LOCK) \
241 (pthread_in_use () ? pthread_rwlock_init (LOCK, NULL) : 0) 241 (pthread_in_use () ? pthread_rwlock_init (LOCK, NULL) : 0)
242# else /* glibc with bug https://sourceware.org/bugzilla/show_bug.cgi?id=13701 */ 242# else /* glibc with bug https://sourceware.org/PR13701 */
243# define gl_rwlock_initializer \ 243# define gl_rwlock_initializer \
244 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP 244 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP
245# define glthread_rwlock_init(LOCK) \ 245# define glthread_rwlock_init(LOCK) \