Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
linuxthreadid.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
11
#include "
core/types.h
"
12
13
namespace
Threading
14
{
15
typedef
pthread_t
ThreadId
;
16
static
const
ThreadId
InvalidThreadId
= 0;
17
typedef
int64_t
ThreadIdStorage
;
18
static_assert
(
sizeof
(
ThreadId
) ==
sizeof
(
ThreadIdStorage
));
19
}
20
//------------------------------------------------------------------------------
Threading
The Jobs2 system provides a set of threads and a pool of jobs from which threads can pickup work.
Definition
jobs2.h:16
Threading::InvalidThreadId
static const ThreadId InvalidThreadId
Definition
linuxthreadid.h:16
Threading::ThreadId
pthread_t ThreadId
Definition
linuxthreadid.h:15
Threading::ThreadIdStorage
int64_t ThreadIdStorage
Definition
linuxthreadid.h:17
types.h
code
foundation
threading
linux
linuxthreadid.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.