bareos: master d2e90e8e

Author Committer Branch Timestamp Parent
Sebastian Sura Philipp Storz master 2023-05-11 15:09 master b17e3f4e Pending
Changeset compat: remove com_security_mutex

We now just use a static object. The initialization is guaranteed to
be thread safe and will happen on the first call to
InitializeComSecurity(). This slightly changes behaviour: we now do
not retry whenever the previous call failed; since the only way for
InitializeComSecurity() to fail is for the system to run out of
memory (according to the documenentation), this should not be a
concern.
mod - core/src/win32/compat/compat.cc Diff File