RE: Thread locking functions

2010-02-16 Thread Lee Linkoff
in school. Thanks. Regards, Lee -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Steffen DETTMER Sent: Monday, February 15, 2010 11:04 AM To: openssl-users@openssl.org Subject: Re: Thread locking functions * Sad Clouds wrote on Mon

Re: Thread locking functions

2010-02-16 Thread Sad Clouds
On Mon, 15 Feb 2010 11:39:51 -0500 Lee Linkoff llink...@unitecelectronics.com wrote: Can someone please give me some links to some basic tutorials on locking callbacks. I tried different searches on Google, but no links to basic tutorials came up. I tried different search criteria. To

RE: Thread locking functions

2010-02-16 Thread JG Disenador Multimedia
Enviado el: martes, 16 de febrero de 2010 14:04 Para: openssl-users@openssl.org CC: Lee Linkoff Asunto: Re: Thread locking functions On Mon, 15 Feb 2010 11:39:51 -0500 Lee Linkoff llink...@unitecelectronics.com wrote: Can someone please give me some links to some basic tutorials on locking callbacks

RE: Thread locking functions

2010-02-16 Thread JG Disenador Multimedia
I didn't read all the email -Mensaje original- De: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] En nombre de Sad Clouds Enviado el: martes, 16 de febrero de 2010 14:04 Para: openssl-users@openssl.org CC: Lee Linkoff Asunto: Re: Thread locking functions On Mon

RE: Thread locking functions

2010-02-16 Thread Douglas E. Fajardo
Subject: RE: Thread locking functions Can someone please give me some links to some basic tutorials on locking callbacks. I tried different searches on Google, but no links to basic tutorials came up. I tried different search criteria. To date, I have never used them on the job and don't recall

Thread locking functions

2010-02-15 Thread Sad Clouds
Hi, I've recently started looking at OpenSSL programming API and I'm a bit confused about thread locking funtions: 1. Static VS Dynamic locking callbacks Why have both? Does OpenSSL use dynamic callbacks? Can I omit static callbacks and only use dynamic, or maybe static callbacks are mandatory

Re: Thread locking functions

2010-02-15 Thread Steffen DETTMER
* Sad Clouds wrote on Mon, Feb 15, 2010 at 13:18 +: 2. Rationale for callbacks? Pushing some of the responsibility for locking OpenSSL internal structures to application developers seems a bit lame. Why not get rid of locking callbacks and have OpenSSL handle it transparently inside the

Re: Thread locking functions

2010-02-15 Thread Sad Clouds
On Mon, 15 Feb 2010 15:19:23 +0100 Steffen DETTMER steffen.dett...@ingenico.com wrote: * Sad Clouds wrote on Mon, Feb 15, 2010 at 13:18 +: 2. Rationale for callbacks? Pushing some of the responsibility for locking OpenSSL internal structures to application developers seems a bit

Re: Thread locking functions

2010-02-15 Thread Steffen DETTMER
* Sad Clouds wrote on Mon, Feb 15, 2010 at 14:52 +: On Mon, 15 Feb 2010 15:19:23 +0100 Steffen DETTMER steffen.dett...@ingenico.com wrote: Delegating functionality via callbacks allows arbitrary implementations; I would not consider this lame - but clean, strong, orthogonal, KISS and

RE: Thread locking functions

2010-02-15 Thread David Schwartz
Sad Clouds wrote: I think pretty much every Unix platform standardised on Posix threads by now. Using locking implies that you're using threads, and that is Pthreads API on Unix. Just because you are using threads and on a platform that supports native threads, it does not follow that you