diff options
Diffstat (limited to 'zix/thread.h')
-rw-r--r-- | zix/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zix/thread.h b/zix/thread.h index 9f05b10..2af0c5e 100644 --- a/zix/thread.h +++ b/zix/thread.h @@ -80,6 +80,8 @@ zix_thread_create(ZixThread* thread, static inline ZixStatus zix_thread_join(ZixThread thread, void** retval) { + (void)retval; + return WaitForSingleObject(thread, INFINITE) ? ZIX_STATUS_SUCCESS : ZIX_STATUS_ERROR; } |