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