Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2015 00:58:53 +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-0NvUAFz84P@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 #6 from commit-hook@freebsd.org ---
A commit references this bug:

Author: ngie
Date: Sat Jan 17 00:58:25 UTC 2015
New revision: 277278
URL: https://svnweb.freebsd.org/changeset/base/277278

Log:
  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]

  MFC after: 1 week
  Sponsored by: EMC / Isilon Storage Division

Changes:
  head/contrib/netbsd-tests/lib/libpthread/t_detach.c

-- 
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-0NvUAFz84P>