From 372787c1024cb186e9a8984aea36fdc63114f11b Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Thu, 25 Dec 1997 05:07:20 +0000 Subject: Changed pthread_detach to conform to POSIX, i.e. the single argument provided is of type pthread_t instead of pthread_t *. PR: 4320 Return EINVAL instead of ESRCH if attempting to detach an already detached thread. --- include/pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/pthread.h') diff --git a/include/pthread.h b/include/pthread.h index e3a344eaa6f0..b1966623daaf 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -193,7 +193,7 @@ int pthread_cond_timedwait __P((pthread_cond_t *, int pthread_cond_wait __P((pthread_cond_t *, pthread_mutex_t *)); int pthread_create __P((pthread_t *, const pthread_attr_t *, void *(*start_routine) (void *), void *)); -int pthread_detach __P((pthread_t *)); +int pthread_detach __P((pthread_t)); int pthread_equal __P((pthread_t, pthread_t)); void pthread_exit __P((void *)); void *pthread_getspecific __P((pthread_key_t)); -- cgit v1.3