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-03-16 12:00:28 +01:00
2023-03-16 12:00:28 +01:00
2023-03-16 12:00:28 +01:00
2023-03-16 12:00:28 +01:00
2023-08-09 15:07:25 +08:00
2023-03-16 12:00:28 +01:00
2023-04-24 09:55:54 +02:00
2023-04-24 09:55:54 +02:00
2023-05-16 11:59:08 +08:00
2023-03-16 12:00:28 +01:00
2023-03-16 12:00:28 +01:00
2023-09-16 00:08:34 +03:00
2023-03-16 12:00:28 +01:00
2023-03-16 12:00:28 +01:00
2023-03-16 12:00:28 +01:00
2023-03-16 12:00:28 +01:00
2023-03-16 12:00:28 +01:00