]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r311269:
authorngie <ngie@FreeBSD.org>
Sat, 7 Jan 2017 09:19:55 +0000 (09:19 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 7 Jan 2017 09:19:55 +0000 (09:19 +0000)
commit2f258aec30516931d4ae2adc881e9259e2dbc512
treeee9b715b170d97ec06529f54d35590969310d532
parente208031a9ff3d83617ca3928cb3fa2bcfb4ca31e
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
contrib/netbsd-tests/lib/libpthread/t_swapcontext.c