diff options
author | Christopher Faylor <me@cgf.cx> | 2000-05-09 02:38:07 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-05-09 02:38:07 +0400 |
commit | 67ce5cba91de025481ef2f35da8696c5d5a66096 (patch) | |
tree | ad59fa7255b88fb81afb4a943a154b44dee7815a | |
parent | c469b6a2b0c53361ca88fe3d0a840523bd149e44 (diff) |
* include/pthread.h (pthread_detach): Add missing prototype.
(pthread_join): same.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/include/pthread.h | 8 |
2 files changed, 9 insertions, 4 deletions
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 <pfisher@plexware.com> + + * include/pthread.h (pthread_detach): Add missing prototype. + (pthread_join): same. + 2000-05-08 DJ Delorie <dj@cygnus.com> * 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); |