/[hurd]/hurd/libpthread/include/pthread/pthread.h
ViewVC logotype

Diff of /hurd/libpthread/include/pthread/pthread.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by neal, Thu Oct 10 23:05:06 2002 UTC revision 1.2 by roland, Sun Nov 10 04:18:11 2002 UTC
# Line 179  extern int pthread_attr_setstacksize (pt Line 179  extern int pthread_attr_setstacksize (pt
179    
180  /* Create a thread with attributes given by ATTR, executing  /* Create a thread with attributes given by ATTR, executing
181     START_ROUTINE with argument ARG.  */     START_ROUTINE with argument ARG.  */
182  extern int pthread_create (pthread_t *__thread, __const pthread_attr_t *__attr,  extern int pthread_create (pthread_t *__threadp,
183                               __const pthread_attr_t *__attr,
184                             void *(*__start_routine)(void *), void *__arg);                             void *(*__start_routine)(void *), void *__arg);
185    
186  /* Terminate the current thread and make STATUS available to any  /* Terminate the current thread and make STATUS available to any
# Line 188  extern void pthread_exit (void *__status Line 189  extern void pthread_exit (void *__status
189    
190  /* Make calling thread wait for termination of thread THREAD.  Return  /* Make calling thread wait for termination of thread THREAD.  Return
191     the exit status of the thread in *STATUS.  */     the exit status of the thread in *STATUS.  */
192  extern int pthread_join (pthread_t __thread, void **__status);  extern int pthread_join (pthread_t __threadp, void **__status);
193    
194  /* Indicate that the storage for THREAD can be reclaimed when it  /* Indicate that the storage for THREAD can be reclaimed when it
195     terminates.  */     terminates.  */
196  extern int pthread_detach (pthread_t __thread);  extern int pthread_detach (pthread_t __threadp);
197    
198  /* Compare thread IDs T1 and T2.  Return nonzero if they are equal, 0  /* Compare thread IDs T1 and T2.  Return nonzero if they are equal, 0
199     if they are not.  */     if they are not.  */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26