summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlos <caiosignor@gmail.com>2020-04-22 11:43:01 -0300
committerJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>2020-04-29 12:13:38 -0300
commit59f07e1f86c4fa0e363c7cbefd2882add2320d3b (patch)
treee61f4fc60ecc05a3c85c9460de0ee8299b62bf3c
parent8b4b7d0e641691310536cbaa5a8cb47695003d92 (diff)
_eina_thread_join return int
-rw-r--r--src/lib/eina/eina_inline_thread_win32.x4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/eina/eina_inline_thread_win32.x b/src/lib/eina/eina_inline_thread_win32.x
index 4c01c394ab..a1d10d35b3 100644
--- a/src/lib/eina/eina_inline_thread_win32.x
+++ b/src/lib/eina/eina_inline_thread_win32.x
@@ -18,6 +18,8 @@
18#ifndef EINA_INLINE_THREAD_WIN32_H_ 18#ifndef EINA_INLINE_THREAD_WIN32_H_
19#define EINA_INLINE_THREAD_WIN32_H_ 19#define EINA_INLINE_THREAD_WIN32_H_
20 20
21#include "eina_thread_win32.h"
22
21typedef struct _Eina_Win32_Thread_Func 23typedef struct _Eina_Win32_Thread_Func
22{ 24{
23 void *data; 25 void *data;
@@ -31,7 +33,7 @@ typedef struct _Eina_Win32_Thread_Attr
31 DWORD dwCreationFlags; 33 DWORD dwCreationFlags;
32} Eina_Win32_Thread_Attr; 34} Eina_Win32_Thread_Attr;
33 35
34static inline void * 36static inline int *
35_eina_thread_join(Eina_Thread t) 37_eina_thread_join(Eina_Thread t)
36{ 38{
37 int ret = (int)WaitForSingleObject(t, INFINITE); 39 int ret = (int)WaitForSingleObject(t, INFINITE);