On Mon, Jun 09, 2014 at 09:15:15PM +0200, Bodo Moeller wrote: > Geoffrey Thorpe <[email protected]>: > > First, you're right, pthreads_locking_callback() is collapsing everything > > to a mutex. > > > > I was well aware of this and thought we did this for compatibility reasons > (because I couldn't think of any other reasonable explanation, I guess). > If actual read-write locks are just as portable, I think it's a no-brainer > that we should switch to them. (After all, our code is already prepared > for that, for applications that provide appropriate custom callbacks. It's > just the default that falls behind.)
Read-write locks are much more expensive. It would be unwise to convert to them where you cannot document a need to do so. Thor ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
