> I don't mean the type, I mean the data

By putting EVERYTHING with __declspec(thread)?  That's not right either, as it 
completely prevents sharing.  And the Windows DLL malloc model isn't the same 
Unix/Linux.

Enough pedanticism.  Most objects aren't safe to be used by multiple threads at 
the same time; they're not designed for that kind of simultaneous use model.  
Almost anything that has "context" in it is generally intended to hold the 
state for something and be uniquely used.  (SSL and SSL_CTX are notable 
counter-examples.)

        /r$

--  
Principal Security Engineer
Akamai Technology
Cambridge, MA

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to