Go to file
Adam Langley d7c5dfb233 Add native support for onces and thread-local storage.
Historically, OpenSSL has used callbacks for anything thread related,
but we don't actually have that many threading libraries to worry about:
just pthreads and Windows (I hope).

That suggests that it's quite reasonable to handle threading ourselves,
and eliminate the need for users to remember to install the thread
callbacks.

The first user of this would be ERR, which currently simulates
thread-local storage using a lock around a hash table keyed by the TID.
(Although I suspect that change will need some CMake work in order that
libpthread is automatically included with libcrypto when linking tests
etc, but not on Windows and without lots of ifs.)

Change-Id: I4dd088e3794506747f875c1f3e92b9bc6700fad2
Reviewed-on: https://boringssl-review.googlesource.com/4010
Reviewed-by: Adam Langley <agl@google.com>
2015-03-31 22:37:12 +00:00
crypto Add native support for onces and thread-local storage. 2015-03-31 22:37:12 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Support MIPS64. 2015-03-31 22:27:10 +00:00
ssl Lowercase some Windows headers. 2015-03-31 22:21:42 +00:00
tool Lowercase some Windows headers. 2015-03-31 22:21:42 +00:00
util Add native support for onces and thread-local storage. 2015-03-31 22:37:12 +00:00
.clang-format Inital import. 2014-06-20 13:17:32 -07:00
.gitignore Add generated documentation to .gitignore 2015-01-26 18:37:55 +00:00
BUILDING Generate error data at build time. 2015-03-06 18:59:25 +00:00
CMakeLists.txt Generate error data at build time. 2015-03-06 18:59:25 +00:00
codereview.settings Add a codereview.settings file. 2014-11-18 22:21:33 +00:00
STYLE Style guide tweaks. 2015-02-19 18:33:20 +00:00