Steven Bade wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ken Goldman wrote:
| Referring to http://www.openssl.org/docs/crypto/threads.html
|
| 1
|
| "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)."
|
| Is this correct? On my Linux system, getpid() returns the same pid
| for each thread.
|
Correct posix behavior is to return the same pid ... the old linux
threading did not return the same PID... that was fixed a while back..
| 2
|
| "You can find out if OpenSSL was configured with thread support:
|
| #define OPENSSL_THREAD_DEFINES
| #include <openssl/opensslconf.h>
| #if defined(THREADS)
| "
|
| Is this correct? I compiled for threads (seemed to be the default)
| and I saw -DOPENSSL_THREADS. When I try the test, THREADS is not
| defined but OPENSSL_THREADS is.
|
Ken -
We've observed the same thing, even a re-compilation of OpenSSL with a
'threads' argument at configure-time.
Have you found any more answers to this?
Thanks!
-dant
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]