boringssl/util
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
..
bot Add support for finding depot_tools' MSVC toolchain on the bots. 2015-03-25 15:31:55 +00:00
32-bit-toolchain.cmake Inital import. 2014-06-20 13:17:32 -07:00
aarch64-toolchain.cmake aarch64 support. 2015-01-14 23:38:11 +00:00
all_tests.go Add native support for onces and thread-local storage. 2015-03-31 22:37:12 +00:00
arm-toolchain.cmake aarch64 support. 2015-01-14 23:38:11 +00:00
doc.config Various documentation fixes. 2015-01-14 21:50:50 +00:00
doc.css Inital import. 2014-06-20 13:17:32 -07:00
doc.go Various documentation fixes. 2015-01-14 21:50:50 +00:00
make_errors.go Generate error data at build time. 2015-03-06 18:59:25 +00:00