Bob, I have never seen dynamic locks being created, only static ones. I have added dynamic locks because the documentation says that I'll avoid trouble in the future by doing it now. I only added them recently and had been running without them for years with no problems reported.
I have been trying to track down a problem and wanted to eliminate the possibility that the locks were contributing to the error. I have convinced myself that the mutex's are being created properly but still haven't solved my problem. Betsy On Mar 14, 2013, at 3:04 PM, Yan, Bob wrote: > Gordon, > > Just quick question for you, have you seen any dynamic mutex lock been > created while your openssl application is running? I implemented both static > and dynamic locking mechanism in my application. I can see that there are a > total of 41 static mutex locks been created during initialization but I > haven’t seen any dynamic mutex lock been created and invoked by openssl > functions. > > Thanks > Bob > > From: owner-openssl-us...@openssl.org > [mailto:owner-openssl-us...@openssl.org] On Behalf Of Le Huang > Sent: Wednesday, March 13, 2013 8:21 PM > To: openssl-users@openssl.org > Subject: Re: Static and Dynamic Locking Functions > > Gordon, > > Not sure how your question relates OpenSSL, but in general, thread id is not > a unique identifier for locks. > > On Thu, Mar 14, 2013 at 3:40 AM, Betsy Gordon <bgor...@companioncorp.com> > wrote: > Hello, > > I have implemented static and dynamic locking functions but have a > lingering question. It is not clear to me whether the same thread would ever > create more than one lock before previous locks created by that thread had > been destroyed. In other words, is the thread id intended to be the unique > identifier for locks? > > Thank you, > B. Gordon > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org > > > > -- > Regards, > Huang Le (Eric, Alibaba DevOps) > Email: 4tarhl AT gmail.com, le.hl AT alibaba-inc.com ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org