diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 42482a6dc..0fa6ae4a8 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2000-05-08 Paul K. Fisher + + * include/pthread.h (pthread_detach): Add missing prototype. + (pthread_join): same. + 2000-05-08 DJ Delorie * fhandler.cc (lock): use signed math to allow checking ranges diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h index 4826e0897..90bf5c28c 100644 --- a/winsup/cygwin/include/pthread.h +++ b/winsup/cygwin/include/pthread.h @@ -49,10 +49,10 @@ int pthread_attr_init (pthread_attr_t * attr); int pthread_attr_destroy (pthread_attr_t * attr); int pthread_attr_setstacksize (pthread_attr_t * attr, size_t size); int pthread_attr_getstacksize (pthread_attr_t * attr, size_t * size); -/* - pthread_attr_setstackaddr(...); - pthread_attr_getstackaddr(...); -*/ + +/* Thread Control */ +int pthread_detach (pthread_t thread); +int pthread_join (pthread_t thread, void **value_ptr); /* Thread Exit */ int pthread_exit (void *value_ptr);