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;
|
||||
|
||||
typedef union {
|
||||
uintptr_t value;
|
||||
void *pointer;
|
||||
uint32_t value;
|
||||
void *pointer; // Bits outside of .value may be reset
|
||||
} ThreadResult;
|
||||
|
||||
#define THREAD_NONE (Thread) { .handle = 0, }
|
||||
|
|
Loading…
Reference in New Issue