spdlog
Loading...
Searching...
No Matches
console_globals.h
Go to the documentation of this file.
1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
2// Distributed under the MIT License (http://opensource.org/licenses/MIT)
3
4#pragma once
5
7#include <mutex>
8
9namespace spdlog {
10namespace details {
11
13{
15 static mutex_t &mutex()
16 {
17 static mutex_t s_mutex;
18 return s_mutex;
19 }
20};
21
23{
25 static mutex_t &mutex()
26 {
27 static mutex_t s_mutex;
28 return s_mutex;
29 }
30};
31} // namespace details
32} // namespace spdlog
Definition async.h:25