We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e83d57e + 0006e2e commit 039e5a0Copy full SHA for 039e5a0
compat/win32/pthread.h
@@ -66,7 +66,7 @@ pthread_t pthread_self(void);
66
67
static inline void NORETURN pthread_exit(void *ret)
68
{
69
- ExitThread((DWORD)(intptr_t)ret);
+ _endthreadex((unsigned)(uintptr_t)ret);
70
}
71
72
typedef DWORD pthread_key_t;
0 commit comments