aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-06-13 04:17:12 +0000
committerRichard Levitte <levitte@openssl.org>2005-06-13 04:17:12 +0000
commita7c924c0415c04795533b0534bbcadd15ff4193f (patch)
tree672298b02aab608098528e93719baee0ec3ecf2f
parent27b762af60d36698affe92e3aca2564a71bb6c73 (diff)
downloadopenssl-a7c924c0415c04795533b0534bbcadd15ff4193f.tar.gz
0.9.8-beta5 works on VMS/Alpha
-rw-r--r--STATUS3
-rw-r--r--doc/crypto/threads.pod15
2 files changed, 14 insertions, 4 deletions
diff --git a/STATUS b/STATUS
index a5423e4da2..5303a63280 100644
--- a/STATUS
+++ b/STATUS
@@ -1,11 +1,12 @@
OpenSSL STATUS Last modified at
- ______________ $Date: 2005/06/13 03:36:58 $
+ ______________ $Date: 2005/06/13 04:17:08 $
DEVELOPMENT STATE
o OpenSSL 0.9.9: Under development...
o OpenSSL 0.9.8-beta5: Released on June 13th, 2005
+ OpenVMS/Alpha 7.3-2 w. Compaq C 6.4-005 SUCCESS
o OpenSSL 0.9.8-beta4: Released on June 6th, 2005
o OpenSSL 0.9.8-beta3: Released on May 31th, 2005
o OpenSSL 0.9.8-beta2: Released on May 24th, 2005
diff --git a/doc/crypto/threads.pod b/doc/crypto/threads.pod
index c7fca5a531..98373a9ca8 100644
--- a/doc/crypto/threads.pod
+++ b/doc/crypto/threads.pod
@@ -65,9 +65,18 @@ B<CRYPTO_LOCK>, and releases it otherwise.
B<file> and B<line> are the file number of the function setting the
lock. They can be useful for debugging.
-id_function(void) is a function that returns a thread ID. It is not
-needed on Windows nor on platforms where getpid() returns a different
-ID for each thread (most notably Linux).
+id_function(void) is a function that returns a thread ID, for
+instance, pthread_self(). It is not, needed on Windows nor on
+platforms where getpid() returns a different ID for each thread.
+However, even on those platforms, pthread_self() should be used, since
+the behavior of getpid() may depend on the machine where the program
+is being run, not the machine where the program is being compiled.
+(For instance, Red Hat 8 Linux and earlier used LinuxThreads, whose
+getpid() returns a different value for each thread; Red Hat 9 Linux
+and later use NPTL, which is Posix-conformant, and thus whose getpid()
+returns the same value for all threads in a process. But a program
+compiled on Red Hat 8 and run on Red Hat 9 will by default see
+getpid() returning the same value for all threads.)
Additionally, OpenSSL supports dynamic locks, and sometimes, some parts
of OpenSSL need it for better performance. To enable this, the following