mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-29 13:25:29 -05:00
12 lines
205 B
C++
12 lines
205 B
C++
#include "sync-helper.hpp"
|
|
|
|
namespace advss {
|
|
|
|
std::mutex *GetSwitcherMutex();
|
|
std::lock_guard<std::mutex> LockContext()
|
|
{
|
|
return std::lock_guard<std::mutex>(*GetSwitcherMutex());
|
|
}
|
|
|
|
} // namespace advss
|