chao an 69e497f681 testing/ostest/cancel: joining a detached/canceled thread should return EINVAL, not ESRCH
Reference:
https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_join.html
  [EINVAL]
    The value specified by thread does not refer to a joinable thread.

https://docs.oracle.com/cd/E19120-01/open.solaris/816-5137/tlib-25/index.html

  EINVAL
    The thread corresponding to the given thread ID is a detached thread.

https://linux.die.net/man/3/pthread_join

  EINVAL
    thread is not a joinable thread.

Signed-off-by: chao an <anchao@lixiang.com>
2024-03-13 18:06:36 +09:00
..
2023-09-05 22:10:48 +08:00
2024-02-05 08:46:22 -08:00
2024-03-01 17:06:01 +08:00
2023-01-26 08:11:04 +02:00
2023-11-02 14:49:54 +08:00
2023-05-16 22:42:23 -07:00
2023-12-03 14:27:14 -03:00
2024-01-04 10:26:49 +01:00
2023-10-26 13:17:28 +02:00
2023-10-26 13:17:28 +02:00
2024-02-05 08:46:22 -08:00
2024-03-11 11:24:13 +08:00
2023-07-08 13:52:02 +08:00