CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MultithreadPolicy Struct Referencefinal

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.
 

Detailed Description

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.

Member Typedef Documentation

◆ MutexLockType

◆ MutexType

Member Function Documentation

◆ yield()

static void CeresEngine::MultithreadPolicy::yield ( )
inlinestaticnoexcept

Function that yields the current thread, allowing the OS to reschedule.


The documentation for this struct was generated from the following file: