Re: Multi-threaded applications, locking_function, threadid_func, dynamic locks

2012-05-20 Thread Vladimir Belov
ckwellcollins.com office: (678) 252-4498 "Vladimir Belov" Sent by: owner-openssl-us...@openssl.org 05/13/2012 02:04 PM Please respond to openssl-users@openssl.org To cc Subject Re: Multi-threaded applications, locking_funct

Re: Multi-threaded applications, locking_function, threadid_func, dynamic locks

2012-05-15 Thread bebrooks
8) 252-4498 "Vladimir Belov" Sent by: owner-openssl-us...@openssl.org 05/13/2012 02:04 PM Please respond to openssl-users@openssl.org To cc Subject Re: Multi-threaded applications, locking_function, threadid_func, dynamic locks From: Dr. Stephen Henson Sent: Sunday,

Re: Multi-threaded applications, locking_function, threadid_func, dynamic locks

2012-05-13 Thread Vladimir Belov
From: Dr. Stephen Henson Sent: Sunday, May 13, 2012 5:53 PM Yes because some structures need to be locked internally. An example is the error queue. I draw a conclusion: in multi-threaded application using of locking_function and threadid_func is mandatory. Ok. Currently dynamical locks

Re: Multi-threaded applications, locking_function, threadid_func, dynamic locks

2012-05-13 Thread Dr. Stephen Henson
On Sun, May 13, 2012, Vladimir Belov wrote: > Hello. > > 1) If I will use each OpenSSL object only by one thread at the > moment, it can be different thread each time but never two or more > threads will use one object simultaneously do I need to use > locking_function and threadid_func or no? >

Multi-threaded applications, locking_function, threadid_func, dynamic locks

2012-05-12 Thread Vladimir Belov
Hello. 1) If I will use each OpenSSL object only by one thread at the moment, it can be different thread each time but never two or more threads will use one object simultaneously do I need to use locking_function and threadid_func or no? 2) Performance of dynamic locks in comparison with "s