Hi Alain, 

There is a good section in the O'Reilly Book about threading.  See
Chapter 4.

If you haven't got this book then I will summerize.  OpenSSL is thread
safe
only if you implement the static (and dynamic) locking callbacks. You
can find some examples from http://www.opensslbook.com/code.html

You should also call ERR_remove_state() when a thread terminates to
destroy
the error queue for that thread.

> I get a few warnings when I 
> compile those with my project, but C is like alcohol and cigarettes - 
> you never watch the warnings.

I would recommend you always watch the warnings.  Some C compilers
downgrade fairly major problems to "Warnings".

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

Reply via email to