RE: OpenSSL use of DCLP may not be thread-safe on multiple processors

2005-04-07 Thread David C. Partridge
Thanks all. It strikes me that the H/W designers have played a bit fast and loose with the cache consistency issue here - I believe I understand the C/C++ optimisation issues, and these CAN be worked around (IMHO) within the rules of the standard by using bool in some cases. However I've

RE: OpenSSL use of DCLP may not be thread-safe on multiple processors

2005-04-07 Thread Steven Reddie
It's all in the interest of increased processing speed. Tighter models, such as strict ordering, are inherently slower than reordering models. The more reordering that can be done the better performance can be. Write combining buffers are an extreme example where overwriting the same address in

RE: intrested in participate on openssl development

2005-04-07 Thread Green, Paul
Are there small parts in openssl where I can help? (review, documentation, programming) I don't found much about things to do while reading the Mailinglist. If you are interested in my help, please send answer. greetings wof I'm just someone who ports OpenSSL to a platform for others

RE: OpenSSL use of DCLP may not be thread-safe on multiple processors

2005-04-07 Thread David Schwartz
It strikes me that the H/W designers have played a bit fast and loose with the cache consistency issue here For the vast majority of cases, this is a pure speed boost. For the tiny number of cases where it causes a problem, you use mutexes. - I believe I understand the C/C++

Re: OpenSSL use of DCLP may not be thread-safe on multiple processors

2005-04-07 Thread Jim Schneider
On Thursday 07 April 2005 16:39, David Schwartz wrote: A bit off-topic, but... If you mean 'volatile', no, that doesn't do anything. Specifically, 'volatile' has no special semantics for multi-processors. There may be specific compilers where it has such semantics, but the standard

RE: OpenSSL use of DCLP may not be thread-safe on multiple processors

2005-04-07 Thread David Schwartz
On Thursday 07 April 2005 16:39, David Schwartz wrote: A bit off-topic, but... If you mean 'volatile', no, that doesn't do anything. Specifically, 'volatile' has no special semantics for multi-processors. There may be specific compilers where it has such semantics, but the standard

RE: OpenSSL use of DCLP may not be thread-safe on multiple processors

2005-04-07 Thread Steven Reddie
Hi Jim, The C abstract machine definition doesn't take into account multi-processing and therefore ignores memory operation reordering as seen by external observers. Volatile means little more than don't keep this variable in a register, it must be accessed directly from memory. It however

[openssl.org #359] Calling SSL_read and SSL_write with non-empty error stack may cause an error

2005-04-07 Thread Nils Larsch via RT
This should be fixed in 0.9.8 . As we don't want to backport the necessary changes to 0.9.7 I close this ticket. Cheers, Nils __ OpenSSL Project http://www.openssl.org Development Mailing List