Fixes the timed_mutex class to have a constructor (was failing due to the base class being inherited privately). This fixes #84 .
Adjusts the second read in call_once to use relaxed semantics, rather than acquire semantics. This should slightly improve performance, and is correct because this second load occurs after acquiring the mutex, which in itself acquires the result of the called function.
Fixes the
timed_mutex
class to have a constructor (was failing due to the base class being inherited privately). This fixes #84 .Adjusts the second read in
call_once
to use relaxed semantics, rather than acquire semantics. This should slightly improve performance, and is correct because this second load occurs after acquiring the mutex, which in itself acquires the result of the called function.