]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r311265,r311274:
authorngie <ngie@FreeBSD.org>
Fri, 13 Jan 2017 08:46:46 +0000 (08:46 +0000)
committerngie <ngie@FreeBSD.org>
Fri, 13 Jan 2017 08:46:46 +0000 (08:46 +0000)
commit0121c546456826420083135a793921f0b10eb0fb
tree7bbc8d51c45cac9872c02a253b64874d5bdb15e5
parent2018c33abf77cea7a3171ed6a617730825aee00e
MFC r311265,r311274:

r311265:

fpu: ensure calls to pthread_create succeed and test sched_yield to make
sure it returns 0

sched_yield tests for values returning 0 of type int and sched_yield is
of type long, so the test is a mismatch

CID: 1254953125495412549651254966

r311274:

run: ensure pthread_condattr_{init,setclock} is successful

CID: 12686311268633
contrib/netbsd-tests/lib/libpthread/t_condwait.c
contrib/netbsd-tests/lib/libpthread/t_fpu.c