spdlog/include/c11log/details/null_mutex.h

15 lines
192 B
C
Raw Normal View History

2014-01-25 17:09:04 +08:00
#pragma once
2014-02-22 04:51:54 +08:00
namespace c11log {
namespace details {
struct null_mutex {
void lock() {
}
void unlock() {
}
bool try_lock() {
return true;
}
};
}
2014-01-25 17:09:04 +08:00
}