summaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2021-02-18 16:27:08 -0500
committerPauli <ppzgs1@gmail.com>2021-03-12 08:00:18 +1000
commit3d8905f85945d899192b113ae495e99894687c4f (patch)
tree522edcba827af5b6740d8c4078a53d7f96b53526 /INSTALL.md
parent0a8e6c1fb77612feba350a67dad3e548300785a7 (diff)
Fix error-checking compiles for mutex
Fixes: #14229 Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14264)
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 01c360e8d4..d6ef21d20e 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -1666,6 +1666,13 @@ most UNIX/Linux systems), and Windows threads. No other threading models are
supported. If your platform does not provide pthreads or Windows threads then
you should use `Configure` with the `no-threads` option.
+For pthreads, all locks are non-recursive. In addition, in a debug build,
+the mutex attribute `PTHREAD_MUTEX_ERRORCHECK` is used. If this is not
+available on your platform, you might have to add
+`-DOPENSSL_NO_MUTEX_ERRORCHECK` to your `Configure` invocation.
+(On Linux `PTHREAD_MUTEX_ERRORCHECK` is an enum value, so a built-in
+ifdef test cannot be used.)
+
Notes on shared libraries
-------------------------