• R
    remove incorrect ESRCH error from pthread_kill · 4df42163
    Rich Felker 提交于
    posix documents in the rationale and future directions for
    pthread_kill that, since the lifetime of the thread id for a joinable
    thread lasts until it is joined, ESRCH is not a correct error for
    pthread_kill to produce when the target thread has exited but not yet
    been joined, and that conforming applications cannot attempt to detect
    this state. future versions of the standard may explicitly require
    that ESRCH not be returned for this case.
    4df42163
pthread_kill.c 217 字节