Nebula
Loading...
Searching...
No Matches
linuxthreadid.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11#include "core/types.h"
12
13namespace Threading
14{
15typedef pthread_t ThreadId;
16static const ThreadId InvalidThreadId = 0;
17typedef int64_t ThreadIdStorage;
18static_assert(sizeof(ThreadId) == sizeof(ThreadIdStorage));
19}
20//------------------------------------------------------------------------------
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