CyberEngineMkIII
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CYBWin32Thread.hpp
Go to the documentation of this file.
1 #pragma once
3 namespace CYB {
4  namespace Platform {
5  namespace System {
6  namespace Implementation {
8  class Thread {
9  protected:
11  Win32::HANDLE FThread;
12  private:
21  static unsigned long __stdcall ThreadProc(void* const AThreadable) noexcept;
22  protected:
24  Thread(API::Threadable& AThreadable);
26  ~Thread();
27  };
28  };
29  };
30  };
31 };
static unsigned long __stdcall ThreadProc(void *const AThreadable) noexcept
The thread startup function called by the kernel.
API::Threadable & FThreadable
A reference to the Threadable object this Thread will run.
Contains the thread handle and startup function.
Thread(API::Threadable &AThreadable)
Construct a Thread. Once returned, the thread will be scheduled to run and BeginThreadedOperation wil...
The basic multithreading interface.
Definition: Threadable.hpp:6
Win32::HANDLE FThread
The thread handle.