K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-11-28T11:05:31.000000Z K 7 svn:log V 298 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. END