[Bug 191906] pthread_cancel(NULL) on FreeBSD returns EINVAL, not ESRCH according to manpage

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 15 00:28:39 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191906

--- Comment #3 from Garrett Cooper,425-314-3911 <ngie at FreeBSD.org> ---
NetBSD's testing implementation specific behavior:

 75 static int
 76 join_common(pthread_t pthread, void **thread_return,
 77         const struct timespec *abstime)
 78 {
 79         struct pthread *curthread = _get_curthread();
 80         struct timespec ts, ts2, *tsp;
 81         void *tmp;
 82         long tid;
 83         int ret = 0;
 84 
 85         if (pthread == NULL)
 86                 return (EINVAL);
 87

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-standards mailing list