Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Nov 2017 21:54:07 +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-aHgMKziz2w@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=3D191906

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|Open                        |Closed
                 CC|                            |kib@FreeBSD.org

--- Comment #11 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Ngie Cooper from comment #10)
There is no underlying issue.  Behavior of pthread_cancel() is undefined if=
 the
argument does not reference valid running thread.

Also, in SUSv7TC2 I only see the statement that pthread_cancel() shall not
return EINTR, there is no single word about EINVAL being forbidden.

--=20
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-aHgMKziz2w>