Nebula
Loading...
Searching...
No Matches
posixthreadid.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
10#include "core/types.h"
11
12namespace Threading
13{
14typedef pthread_t ThreadId;
15static const ThreadId InvalidThreadId = 0;
16typedef int64_t ThreadIdStorage;
17static_assert(sizeof(ThreadId) == sizeof(ThreadIdStorage));
18}
19//------------------------------------------------------------------------------
The Jobs2 system provides a set of threads and a pool of jobs from which threads can pickup work.
Definition jobs2.h:16
static const ThreadId InvalidThreadId
Definition linuxthreadid.h:16
pthread_t ThreadId
Definition linuxthreadid.h:15
int64_t ThreadIdStorage
Definition linuxthreadid.h:17