From: "Richard Dykiel" <[EMAIL PROTECTED]>
richard.dykiel> What is the purpose of add_lock_callback, and how
richard.dykiel> should you use it? It is not described in the
richard.dykiel> "threads" man pages, I think. It seems to be used only
richard.dykiel> from p8_key.c (calling CRYPTO_add_lock).
The purpose of CRYPTO_add() (which expands to CRYPTO_add_lock()) is to
add some number to some varuable in a locked environment. It is
possible for you to defined completely on your own how that locked
environment should really work by creating your own callback that does
the work. If you don't give a callback for that operation, the
internal OpenSSL routine will be used.
--
Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]