diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 16:27:12 +0100 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 16:27:12 +0100 |
commit | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (patch) | |
tree | 2b2e1c71dffae827c8e45cd4cccc375093d03486 /gl/glthread | |
parent | 6d1d1dac32841d5ca6ee51bb09b30a6c604b17e2 (diff) | |
download | monitoring-plugins-5be04ec2ceb1df77afbca4fcbf9e92a712612d6f.tar.gz |
Sync with the latest Gnulib code (d4ec02b3cc)
Diffstat (limited to 'gl/glthread')
-rw-r--r-- | gl/glthread/lock.c | 2 | ||||
-rw-r--r-- | gl/glthread/lock.h | 10 | ||||
-rw-r--r-- | gl/glthread/threadlib.c | 2 |
3 files changed, 11 insertions, 3 deletions
diff --git a/gl/glthread/lock.c b/gl/glthread/lock.c index 82fb7553..6661ad6a 100644 --- a/gl/glthread/lock.c +++ b/gl/glthread/lock.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Locking in multithreaded situations. | 1 | /* Locking in multithreaded situations. |
2 | Copyright (C) 2005-2023 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2024 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 |
diff --git a/gl/glthread/lock.h b/gl/glthread/lock.h index ae3ee2d6..2d5cb320 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-2023 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2024 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 |
@@ -77,6 +77,14 @@ | |||
77 | #ifndef _LOCK_H | 77 | #ifndef _LOCK_H |
78 | #define _LOCK_H | 78 | #define _LOCK_H |
79 | 79 | ||
80 | /* This file uses HAVE_THREADS_H, HAVE_PTHREAD_RWLOCK, | ||
81 | HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER, | ||
82 | PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, | ||
83 | HAVE_PTHREAD_MUTEX_RECURSIVE. */ | ||
84 | #if !_GL_CONFIG_H_INCLUDED | ||
85 | #error "Please include config.h first." | ||
86 | #endif | ||
87 | |||
80 | #include <errno.h> | 88 | #include <errno.h> |
81 | #include <stdlib.h> | 89 | #include <stdlib.h> |
82 | 90 | ||
diff --git a/gl/glthread/threadlib.c b/gl/glthread/threadlib.c index 5ecf827f..7a776768 100644 --- a/gl/glthread/threadlib.c +++ b/gl/glthread/threadlib.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* Multithreading primitives. | 1 | /* Multithreading primitives. |
2 | Copyright (C) 2005-2023 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2024 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 |