Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/pthread-exit-emu-windows'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 4 Mar 2016 21:46:39 +0000
(13:46 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 4 Mar 2016 21:46:39 +0000
(13:46 -0800)
* js/pthread-exit-emu-windows:
Mark win32's pthread_exit() as NORETURN
compat/win32/pthread.h
patch
|
blob
|
history
raw
(from parent 1:
bbe90e7
)
diff --git
a/compat/win32/pthread.h
b/compat/win32/pthread.h
index 20b35a283ca71070086728384fffadf98aa17bba..b6ed9e74621fe0bc506beb893e477bff26e88756 100644
(file)
--- a/
compat/win32/pthread.h
+++ b/
compat/win32/pthread.h
@@
-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);
}