From 8ccf4874e39a9814aaaae50b0483d025f1494cc7 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 24 Jan 2015 16:14:30 +0000 Subject: Handle repeated initializations of the library better and deal with initializations across multiple threads safely. --- doc/relnotes/1_11_14.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/relnotes') diff --git a/doc/relnotes/1_11_14.rst b/doc/relnotes/1_11_14.rst index f3a2527ad..d8004f512 100644 --- a/doc/relnotes/1_11_14.rst +++ b/doc/relnotes/1_11_14.rst @@ -16,3 +16,11 @@ Version 1.11.14, Not Yet Released Previously the allocator would consume all available mlocked memory, this allows botan to coexist with an application which wants to mlock memory of its own. + +* The library can now only be initialized once. If the library is + already initialized and a LibraryInitializer is created, it has no + effect. If the first library initializer leaves scope then a new + initializer can be created. + + LibraryInitializer can now only be used in an RAII fashion; the + static `initialize` and `deinitialize` functions have been removed. -- cgit v1.2.3