From ab10478ca4e999115453f67629f64f29de7851cb Mon Sep 17 00:00:00 2001 From: marko <> Date: Mon, 18 Feb 2008 19:14:09 +0000 Subject: [PATCH] branches/zip: Remove the unused function os_thread_join(). --- include/os0thread.h | 7 ------- os/os0thread.c | 9 --------- 2 files changed, 16 deletions(-) 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