Browse Source

branches/zip: Remove the unused function os_thread_join().

pull/73/head
marko 18 years ago
parent
commit
ab10478ca4
  1. 7
      include/os0thread.h
  2. 9
      os/os0thread.c

7
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

9
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

Loading…
Cancel
Save