mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
Merge branch 'js/pthread-exit-emu-windows'
* js/pthread-exit-emu-windows: Mark win32's pthread_exit() as NORETURN
This commit is contained in:
commit
3978cd06ff
|
@ -78,7 +78,7 @@ extern int win32_pthread_join(pthread_t *thread, void **value_ptr);
|
|||
#define pthread_equal(t1, t2) ((t1).tid == (t2).tid)
|
||||
extern pthread_t pthread_self(void);
|
||||
|
||||
static inline int pthread_exit(void *ret)
|
||||
static inline void NORETURN pthread_exit(void *ret)
|
||||
{
|
||||
ExitThread((DWORD)(intptr_t)ret);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue