summaryrefslogtreecommitdiff
path: root/src/thread/synccall.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-05-04 13:18:51 -0400
committerRich Felker <dalias@aerifal.cx>2018-05-04 13:18:51 -0400
commit4df42163511182bfd6fc55e85250b93786dcce7e (patch)
tree7ba21ccd873265550a2043a5b904cc94e358b179 /src/thread/synccall.c
parent9e2d820a555e150df462f88c901fcbe25d692a8b (diff)
downloadmusl-4df42163511182bfd6fc55e85250b93786dcce7e.tar.gz
remove incorrect ESRCH error from pthread_kill
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.
Diffstat (limited to 'src/thread/synccall.c')
0 files changed, 0 insertions, 0 deletions