Don't guarantee more than 32-bit thread result
This commit is contained in:
parent
6b76570afd
commit
c4b801b761
|
@ -10,8 +10,8 @@ typedef union {
|
||||||
} Thread;
|
} Thread;
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
uintptr_t value;
|
uint32_t value;
|
||||||
void *pointer;
|
void *pointer; // Bits outside of .value may be reset
|
||||||
} ThreadResult;
|
} ThreadResult;
|
||||||
|
|
||||||
#define THREAD_NONE (Thread) { .handle = 0, }
|
#define THREAD_NONE (Thread) { .handle = 0, }
|
||||||
|
|
Loading…
Reference in New Issue