From cdb06f48bf15215610d91eddeb2af0a7bdbea2fd Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 10 Nov 2002 04:18:11 +0000 Subject: 2002-11-09 Roland McGrath * include/pthread/pthread.h: Avoid `__thread' as an identifier, since it might be a keyword. --- include/pthread/pthread.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/pthread/pthread.h') diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h index f6e2cbd..cf23d07 100644 --- a/include/pthread/pthread.h +++ b/include/pthread/pthread.h @@ -179,7 +179,8 @@ extern int pthread_attr_setstacksize (pthread_attr_t *attr, /* Create a thread with attributes given by ATTR, executing START_ROUTINE with argument ARG. */ -extern int pthread_create (pthread_t *__thread, __const pthread_attr_t *__attr, +extern int pthread_create (pthread_t *__threadp, + __const pthread_attr_t *__attr, void *(*__start_routine)(void *), void *__arg); /* Terminate the current thread and make STATUS available to any @@ -188,11 +189,11 @@ extern void pthread_exit (void *__status); /* Make calling thread wait for termination of thread THREAD. Return the exit status of the thread in *STATUS. */ -extern int pthread_join (pthread_t __thread, void **__status); +extern int pthread_join (pthread_t __threadp, void **__status); /* Indicate that the storage for THREAD can be reclaimed when it terminates. */ -extern int pthread_detach (pthread_t __thread); +extern int pthread_detach (pthread_t __threadp); /* Compare thread IDs T1 and T2. Return nonzero if they are equal, 0 if they are not. */ -- cgit v1.2.3