Commit a72de9d2 authored by gabi's avatar gabi

null_mutex

parent 068a0e3a
#pragma once
// null, no cost mutex
namespace c11log {
namespace details {
struct null_mutex
{
void lock() {}
void unlock() {}
bool try_lock()
{
return true;
}
};
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment