summaryrefslogtreecommitdiffstats
path: root/gl/glthread/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/glthread/lock.h')
-rw-r--r--gl/glthread/lock.h10
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