[Bug 191906] pthread_cancel(NULL) on FreeBSD returns EINVAL, not ESRCH according to manpage
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 25 00:28:24 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191906
--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:
Author: ngie
Date: Sun Jan 25 00:28:16 UTC 2015
New revision: 277664
URL: https://svnweb.freebsd.org/changeset/base/277664
Log:
MFC r277278:
r277278 (by ngie):
Fix lib/libthr/tests/detach_test
- Eliminate race with liberal use of sleep(3) [1]
- Fix NetBSD-specific implementation way of testing result from
pthread_cancel
by testing with `td` instead of `NULL` [2]
PR: 196738 [1]
PR: 191906 [2]
Sponsored by: EMC / Isilon Storage Division
Changes:
_U stable/10/
stable/10/contrib/netbsd-tests/lib/libpthread/t_detach.c
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-testing
mailing list