diff --git a/include/os0thread.h b/include/os0thread.h index 2cc971fe9ed..2ed9fd975d7 100644 --- a/include/os0thread.h +++ b/include/os0thread.h @@ -79,13 +79,6 @@ os_thread_create( os_thread_id_t* thread_id); /* out: id of the created thread, or NULL */ -#ifdef HAVE_PTHREAD_JOIN -UNIV_INTERN -int -os_thread_join( -/*===========*/ - os_thread_id_t thread_id); /* in: id of the thread to join */ -#endif /********************************************************************* Exits the current thread. */ UNIV_INTERN diff --git a/os/os0thread.c b/os/os0thread.c index 4e02d689b7f..6f7cfd725e6 100644 --- a/os/os0thread.c +++ b/os/os0thread.c @@ -217,15 +217,6 @@ os_thread_exit( #endif } -#ifdef HAVE_PTHREAD_JOIN -int -os_thread_join( -/*===========*/ - os_thread_id_t thread_id) /* in: id of the thread to join */ -{ - return(pthread_join(thread_id, NULL)); -} -#endif /********************************************************************* Returns handle to the current thread. */ UNIV_INTERN