clarify
authorBodo Möller <bodo@openssl.org>
Thu, 8 Nov 2001 14:52:40 +0000 (14:52 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 8 Nov 2001 14:52:40 +0000 (14:52 +0000)
doc/crypto/threads.pod

index bc7ff9b705f0505a2dc2bbae37ad00c89b452470..136844be35d99f3e358cdfbec94990bd77d4225c 100644 (file)
@@ -53,8 +53,10 @@ OpenSSL can safely be used in multi-threaded applications provided
 that at least two callback functions are set.
 
 locking_function(int mode, int n, const char *file, int line) is
-needed to perform locking on shared data structures. Multi-threaded
-applications will crash at random if it is not set.
+needed to perform locking on shared data structures.
+(Note that OpenSSL uses a number of global data structures that
+will be implicitly shared whenever multiple threads use OpenSSL.)
+Multi-threaded applications will crash at random if it is not set.
 
 locking_function() must be able to handle up to CRYPTO_num_locks()
 different mutex locks. It sets the B<n>-th lock if B<mode> &