Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
posixthreadid.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
10
#include "
core/types.h
"
11
12
namespace
Threading
13
{
14
typedef
pthread_t
ThreadId
;
15
static
const
ThreadId
InvalidThreadId
= 0;
16
typedef
int64_t
ThreadIdStorage
;
17
static_assert
(
sizeof
(
ThreadId
) ==
sizeof
(
ThreadIdStorage
));
18
}
19
//------------------------------------------------------------------------------
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
posix
posixthreadid.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.