mirror of
https://github.com/gabime/spdlog.git
synced 2026-04-10 11:34:29 +08:00
17 lines
191 B
C
17 lines
191 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
namespace c11log{
|
||
|
|
namespace details{
|
||
|
|
struct null_mutex
|
||
|
|
{
|
||
|
|
void lock()
|
||
|
|
{}
|
||
|
|
void unlock()
|
||
|
|
{}
|
||
|
|
bool try_lock()
|
||
|
|
{
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|
||
|
|
}
|