diff options
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 82fb755..6661ad6 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 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 | ||
diff --git a/gl/glthread/threadlib.c b/gl/glthread/threadlib.c index 5ecf827..7a77676 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 |