|
CeresEngine 0.2.0
A game development framework
|
Policy for multi threaded use of events. More...
#include <CeresEngine/Foundation/Event.hpp>
Public Types | |
| using | MutexType = Mutex |
| using | MutexLockType = UniqueLock< MutexType > |
Static Public Member Functions | |
| static void | yield () noexcept |
| Function that yields the current thread, allowing the OS to reschedule. | |
Policy for multi threaded use of events.
This policy provides mutex and lock types for use in a multithreaded environment, where events and slots may exists in different threads.
This policy is used in the Event type provided by the library.
Function that yields the current thread, allowing the OS to reschedule.