In message <[EMAIL PROTECTED]> on Sun, 15 Dec 2002 21:49:02 
-0500, Geoff Thorpe <[EMAIL PROTECTED]> said:

geoff> Is this one of those performance-critical cases were you should run a
geoff> test outside the lock first? Ie.
geoff> 
geoff>    if (init_ciphers)
geoff>        {
geoff>        CRYPTO_w_lock(CRYPTO_LOCK_SSL);
geoff>        if (init_ciphers) load_ciphers();
geoff>        CRYPTO_w_unlock(CRYPTO_LOCK_SSL);
geoff>        }

Good point.

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

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
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to