diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-10 00:06:06 +0100 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-10 00:06:06 +0100 |
commit | 21c39515903c34bc6428a544c88cf1c100786847 (patch) | |
tree | c9d0465e24cc3148c84c2fee191f2b1bfc71b841 /gl/glthread/lock.h | |
parent | ed01d534474cc640515f1d5155349f14090aafe9 (diff) | |
parent | 5d7d620903a2fb40f8cd3140081bfb7ceaf125d5 (diff) | |
download | monitoring-plugins-21c39515903c34bc6428a544c88cf1c100786847.tar.gz |
Merge branch 'master' into check_swap_again
Diffstat (limited to 'gl/glthread/lock.h')
-rw-r--r-- | gl/glthread/lock.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 | ||