[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd/libpthread/include/pthread pthread.h
From: |
Roland McGrath |
Subject: |
hurd/libpthread/include/pthread pthread.h |
Date: |
Sat, 09 Nov 2002 23:18:11 -0500 |
CVSROOT: /cvsroot/hurd
Module name: hurd
Changes by: Roland McGrath <address@hidden> 02/11/09 23:18:11
Modified files:
libpthread/include/pthread: pthread.h
Log message:
2002-11-09 Roland McGrath <address@hidden>
* include/pthread/pthread.h: Avoid `__thread' as an identifier,
since it might be a keyword.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/include/pthread/pthread.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: hurd/libpthread/include/pthread/pthread.h
diff -u hurd/libpthread/include/pthread/pthread.h:1.1
hurd/libpthread/include/pthread/pthread.h:1.2
--- hurd/libpthread/include/pthread/pthread.h:1.1 Thu Oct 10 19:05:06 2002
+++ hurd/libpthread/include/pthread/pthread.h Sat Nov 9 23:18:11 2002
@@ -179,7 +179,8 @@
/* 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 @@
/* 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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd/libpthread/include/pthread pthread.h,
Roland McGrath <=