OpenSSL线程安全

来源:互联网 发布:top域名微信打不开 编辑:程序博客网 时间:2024/06/15 13:57

OpenSSL can safely be used in multi-threaded applicationsprovided that at least two callback functions are set, locking_function and threadid_func.


注:OpenSSL只有在至少提供两个回调函数的基础上才是线程安全的。多线程应用中如只有一个线程OpenSSL,是没问题的。

原文:
http://www.openssl.org/docs/crypto/threads.html