Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
posixcpu.h
Go to the documentation of this file.
1
#pragma once
2
#ifndef POSIX_POSIXCPU_H
3
#define POSIX_POSIXCPU_H
4
//------------------------------------------------------------------------------
13
#include "
core/types.h
"
14
15
//------------------------------------------------------------------------------
16
namespace
Posix
17
{
18
class
PosixCpu
19
{
20
public
:
21
typedef
int
CoreId
;
22
24
static
const
CoreId
InvalidCoreId
= 0xffffffff;
25
static
const
CoreId
MainThreadCore
= 0;
26
static
const
CoreId
IoThreadCore
= 2;
27
static
const
CoreId
RenderThreadCore
= 1;
28
static
const
CoreId
AudioThreadCore
= 3;
29
static
const
CoreId
MiscThreadCore
= 4;
30
static
const
CoreId
NetworkThreadCore
= 5;
31
32
static
const
CoreId
JobThreadFirstCore
= 6;
33
static
const
CoreId
RenderThreadFirstCore
= 16;
34
};
35
36
}
// namespace Posix
37
//------------------------------------------------------------------------------
38
#endif
Posix::PosixCpu
CPU related definitions for the Posix platform.
Definition
posixcpu.h:19
Posix::PosixCpu::MainThreadCore
static const CoreId MainThreadCore
Definition
posixcpu.h:25
Posix::PosixCpu::MiscThreadCore
static const CoreId MiscThreadCore
Definition
posixcpu.h:29
Posix::PosixCpu::RenderThreadCore
static const CoreId RenderThreadCore
Definition
posixcpu.h:27
Posix::PosixCpu::IoThreadCore
static const CoreId IoThreadCore
Definition
posixcpu.h:26
Posix::PosixCpu::CoreId
int CoreId
Definition
posixcpu.h:21
Posix::PosixCpu::RenderThreadFirstCore
static const CoreId RenderThreadFirstCore
Definition
posixcpu.h:33
Posix::PosixCpu::AudioThreadCore
static const CoreId AudioThreadCore
Definition
posixcpu.h:28
Posix::PosixCpu::JobThreadFirstCore
static const CoreId JobThreadFirstCore
Definition
posixcpu.h:32
Posix::PosixCpu::NetworkThreadCore
static const CoreId NetworkThreadCore
Definition
posixcpu.h:30
Posix::PosixCpu::InvalidCoreId
static const CoreId InvalidCoreId
core identifiers, under Posix, we basically don't care...
Definition
posixcpu.h:24
Posix
Posix implemention of a read-many write-few lock.
Definition
posixsysfunc.cc:21
types.h
code
foundation
system
posix
posixcpu.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.