]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r311269:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 Jan 2017 09:19:51 +0000 (09:19 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 Jan 2017 09:19:51 +0000 (09:19 +0000)
commit40080888d976cd7902a53bab53c9cd0828a37fa8
tree9a75de4c6187361dc080f40d942f53ae8858d184
parentbc0883031f21b8352e2b633665dd75a70f994045
MFC r311269:

swapcontext1: test for getcontext(3) and swapcontext(3) success properly

The beforementioned libcalls both succeed if the return codes aren't -1

CID: 976790, 976791

git-svn-id: svn://svn.freebsd.org/base/stable/10@311613 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/netbsd-tests/lib/libpthread/t_swapcontext.c