Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
osxcpu.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
11
#include "
core/types.h
"
12
13
//------------------------------------------------------------------------------
14
namespace
OSX
15
{
16
class
OSXCpu
17
{
18
public
:
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
OSX::OSXCpu
CPU related definitions for the MacOSX platform.
Definition
osxcpu.h:17
OSX::OSXCpu::IoThreadCore
static const CoreId IoThreadCore
Definition
osxcpu.h:24
OSX::OSXCpu::InvalidCoreId
static const CoreId InvalidCoreId
core identifiers, under Win32, we basically don't care...
Definition
osxcpu.h:22
OSX::OSXCpu::NetworkThreadCore
static const CoreId NetworkThreadCore
Definition
osxcpu.h:28
OSX::OSXCpu::AudioThreadCore
static const CoreId AudioThreadCore
Definition
osxcpu.h:26
OSX::OSXCpu::CoreId
unsigned int CoreId
Definition
osxcpu.h:19
OSX::OSXCpu::MainThreadCore
static const CoreId MainThreadCore
Definition
osxcpu.h:23
OSX::OSXCpu::MiscThreadCore
static const CoreId MiscThreadCore
Definition
osxcpu.h:27
OSX::OSXCpu::RenderThreadCore
static const CoreId RenderThreadCore
Definition
osxcpu.h:25
OSX::OSXCpu::JobThreadFirstCore
static const CoreId JobThreadFirstCore
Definition
osxcpu.h:30
OSX
Definition
osxsysfunc.h:21
types.h
code
foundation
system
osx
osxcpu.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.