Nebula
Loading...
Searching...
No Matches
osxcpu.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11#include "core/types.h"
12
13//------------------------------------------------------------------------------
14namespace OSX
15{
16class OSXCpu
17{
18public:
19 typedef unsigned int CoreId;
20
22 static const CoreId InvalidCoreId = 0xffffffff;
23 static const CoreId MainThreadCore = 0;
24 static const CoreId IoThreadCore = 2;
25 static const CoreId RenderThreadCore = 1;
26 static const CoreId AudioThreadCore = 3;
27 static const CoreId MiscThreadCore = 4;
28 static const CoreId NetworkThreadCore = 5;
29
30 static const CoreId JobThreadFirstCore = 6;
31};
32
33} // namespace OSX
CPU related definitions for the MacOSX platform.
Definition osxcpu.h:17
static const CoreId IoThreadCore
Definition osxcpu.h:24
unsigned int CoreId
Definition osxcpu.h:19
static const CoreId InvalidCoreId
core identifiers, under Win32, we basically don't care...
Definition osxcpu.h:22
static const CoreId NetworkThreadCore
Definition osxcpu.h:28
static const CoreId AudioThreadCore
Definition osxcpu.h:26
static const CoreId MainThreadCore
Definition osxcpu.h:23
static const CoreId MiscThreadCore
Definition osxcpu.h:27
static const CoreId RenderThreadCore
Definition osxcpu.h:25
static const CoreId JobThreadFirstCore
Definition osxcpu.h:30
Definition osxsysfunc.h:21