|
CeresEngine 0.2.0
A game development framework
|
Policy for single threaded use of events. More...
#include <CeresEngine/Foundation/Event.hpp>
Classes | |
| struct | MutexLockType |
| Dummy lock type, that doesn't do any locking. More... | |
| struct | MutexType |
| Dummy mutex type that doesn't do anything. More... | |
Static Public Member Functions | |
| static constexpr void | yield () noexcept |
| Dummy implementation of thread yielding, that doesn't do any actual yielding. | |
Policy for single threaded use of events.
This policy provides dummy implementations for mutex and lock types, resulting in that no synchronization will take place.
This policy is used in the UnsafeEvent type provided by the library.
Dummy implementation of thread yielding, that doesn't do any actual yielding.