diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/threads/threads.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/wolf/threads/threads.h b/include/wolf/threads/threads.h index 73c5236..bd49fb9 100644 --- a/include/wolf/threads/threads.h +++ b/include/wolf/threads/threads.h @@ -48,9 +48,6 @@ typedef pthread_t wolf_thread_t; typedef void *( *wolf_thread_func_t )( void * ); -wolf_error_t wolf_thread_create( wolf_thread_t *thread, wolf_thread_func_t func ); -wolf_error_t wolf_thread_join( wolf_thread_t *thread ); - #endif /* HAVE_PTHREADS */ #ifdef _WIN32 @@ -65,11 +62,11 @@ typedef uintptr_t wolf_thread_t; typedef void ( *wolf_thread_func_t )( void * ); -wolf_error_t wolf_thread_create( wolf_thread_t *thread, wolf_thread_func_t func ); -wolf_error_t wolf_thread_join( wolf_thread_t *thread ); - #endif /* _WIN32 */ +wolf_error_t wolf_thread_create( wolf_thread_t *thread, wolf_thread_func_t func, void *data ); +wolf_error_t wolf_thread_join( wolf_thread_t *thread ); + #ifdef __cplusplus } #endif |