>1. Decide that multiple locking is a bug (as the stuff in crypto/threads
>suggests) and fix any cases found.
This is the best solution.
>Under Linux this is just a case of
>using recursive mutexes, on other platforms this may not so easy.
Recursive mutexes are a bad thing. They were invented for DCE by
David Butenhof of Digital (back when it was called that) so that
a single global mutex could wrap around all stdio function. I know
Dave has since apologized for them. :)
Yes, they can be convenient, but only in the way "long ulParam"
can be conveniently cast to "void*" ...
/r$
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]