fix: fix error checking pthread_join return value bug
On success, pthread_join() returns 0; on error, it returns an error
number(EDEADLK/EINVAL/EINVAL/ESRCH) which is a positive integer.
Signed-off-by: Nwujing <wujing50@huawei.com>
Showing
想要评论请 注册 或 登录