-----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.
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCkf2QBKHgXq2RAKcRAsYpAJ0bmEZ3oCKOptHsOOxgaZfTVmaFAACdGHfl
RXdiZVPtUoW4tR1h8RRq2/M=
=B6vY
-----END PGP SIGNATURE-----

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to