diff options
author | Roland McGrath <roland@gnu.org> | 2002-11-10 04:18:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-11-10 04:18:11 +0000 |
commit | cdb06f48bf15215610d91eddeb2af0a7bdbea2fd (patch) | |
tree | 3694b8845418febb392028be430d83124d0e32c8 /include/pthread/pthread.h | |
parent | 1f41464c1b1620f164927f13ca0c2119ffb5a1b0 (diff) |
2002-11-09 Roland McGrath <roland@frob.com>
* include/pthread/pthread.h: Avoid `__thread' as an identifier,
since it might be a keyword.
Diffstat (limited to 'include/pthread/pthread.h')
-rw-r--r-- | include/pthread/pthread.h | 7 |
1 files changed, 4 insertions, 3 deletions
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. */ |