3#include <Foundation/Basics.h>
4#include <Foundation/Configuration/Singleton.h>
5#include <Foundation/Configuration/Startup.h>
6#include <Foundation/Containers/Deque.h>
7#include <Foundation/Threading/Mutex.h>
8#include <Foundation/Threading/Thread.h>
34 PL_MAKE_SUBSYSTEM_STARTUP_FRIEND(Foundation, MessageLoop);
35 friend class plLoopThread;
38 void StartUpdateThread();
39 void StopUpdateThread();
52 plThreadID m_ThreadId = 0;
54 bool m_bShouldQuit =
false;
55 bool m_bCallTickFunction =
false;
56 class plLoopThread* m_pUpdateThread =
nullptr;
Definition DynamicArray.h:81
Base class for a communication channel between processes.
Definition IpcChannel.h:44
Internal sub-system used by plIpcChannel.
Definition MessageLoop.h:20
virtual bool WaitForMessages(plInt32 iTimeout, plIpcChannel *pFilter)=0
Waits until a new message has been processed (sent, received).
virtual void WakeUp()=0
Wake up the message loop when new work comes in.
Provides a simple mechanism for mutual exclusion to prevent multiple threads from accessing a shared ...
Definition Mutex.h:13
Base class for IPC messages transmitted by plIpcChannel.
Definition RemoteMessage.h:64