Mutex noop when threading is not supported.

This commit is contained in:
Бранимир Караџић
2020-05-13 20:30:46 -07:00
parent b1a707fac8
commit 0455026c42

View File

@@ -158,4 +158,26 @@ namespace bx
} // namespace bx
#endif // BX_MUTEX_H_HEADER_GUARD
#else
namespace bx
{
Mutex::Mutex()
{
}
Mutex::~Mutex()
{
}
void Mutex::lock()
{
}
void Mutex::unlock()
{
}
} // namespace bx
#endif // BX_CONFIG_SUPPORTS_THREADING