Nebula
Loading...
Searching...
No Matches
win32cpu.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#include "core/types.h"
13
14//------------------------------------------------------------------------------
15namespace Win32
16{
18{
19public:
20 typedef DWORD CoreId;
21
23 static const CoreId InvalidCoreId = 0xffffffff;
24 static const CoreId MainThreadCore = 0;
25 static const CoreId IoThreadCore = 2;
26 static const CoreId RenderThreadCore = 1;
27 static const CoreId AudioThreadCore = 3;
28 static const CoreId MiscThreadCore = 4;
29 static const CoreId NetworkThreadCore = 5;
30
31 static const CoreId JobThreadFirstCore = 6;
32 static const CoreId RenderThreadFirstCore = 16;
33};
34
35} // namespace Win32
36//------------------------------------------------------------------------------
CPU related definitions for the Win32 platform.
Definition win32cpu.h:18
static const CoreId JobThreadFirstCore
Definition win32cpu.h:31
static const CoreId RenderThreadCore
Definition win32cpu.h:26
static const CoreId MainThreadCore
Definition win32cpu.h:24
static const CoreId NetworkThreadCore
Definition win32cpu.h:29
DWORD CoreId
Definition win32cpu.h:20
static const CoreId RenderThreadFirstCore
Definition win32cpu.h:32
static const CoreId IoThreadCore
Definition win32cpu.h:25
static const CoreId AudioThreadCore
Definition win32cpu.h:27
static const CoreId InvalidCoreId
core identifiers, under Win32, we basically don't care...
Definition win32cpu.h:23
static const CoreId MiscThreadCore
Definition win32cpu.h:28
[TODO: Describe Win32 subsystem]