cvs commit: src/lib/libthr/thread thr_join.c
 src/lib/libpthread/thread thr_join.c
    David Xu 
    davidxu at FreeBSD.org
       
    Tue Nov 28 03:05:32 PST 2006
    
    
  
davidxu     2006-11-28 11:05:31 UTC
  FreeBSD src repository
  Modified files:
    lib/libthr/thread    thr_join.c 
    lib/libpthread/thread thr_join.c 
  Log:
  If a thread was detached, return EINVAL instead, the error code
  is also returned by pthread_detach() if a thread was already
  detached, the error code was already documented:
  
  >    [EINVAL]   The implementation has detected that the value speci-
  >               fied by thread does not refer to a joinable thread.
  
  Revision  Changes    Path
  1.30      +1 -1      src/lib/libpthread/thread/thr_join.c
  1.23      +1 -1      src/lib/libthr/thread/thr_join.c
    
    
More information about the cvs-all
mailing list