Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2015 01:01:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 191906] pthread_cancel(NULL) on FreeBSD returns EINVAL, not ESRCH according to manpage
Message-ID:  <bug-191906-32464-6lIEjslyGg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191906-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191906-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191906

--- Comment #5 from Garrett Cooper,425-314-3911 <ngie@FreeBSD.org> ---
(In reply to Garrett Cooper,425-314-3911 from comment #3)

I was on the right track... just the wrong body of code...

337 int
338 _thr_find_thread(struct pthread *curthread, struct pthread *thread,
339     int include_dead)
340 {
341         struct pthread *pthread;
342         int ret;
343 
344         if (thread == NULL)
345                 return (EINVAL);

-- 
You are receiving this mail because:
You are on the CC list for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191906-32464-6lIEjslyGg>