diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-31 15:27:12 (GMT) |
commit | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (patch) | |
tree | 2b2e1c71dffae827c8e45cd4cccc375093d03486 /gl/glthread/lock.h | |
parent | 6d1d1dac32841d5ca6ee51bb09b30a6c604b17e2 (diff) | |
download | monitoring-plugins-5be04ec2ceb1df77afbca4fcbf9e92a712612d6f.tar.gz |
Sync with the latest Gnulib code (d4ec02b3cc)refs/pull/2037/head
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 ae3ee2d..2d5cb32 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 | ||