]> granicus.if.org Git - gc/commit
Fix unchecked pthread_join() result in threadkey_test
authorIvan Maidanski <ivmai@mail.ru>
Mon, 29 Feb 2016 21:07:07 +0000 (00:07 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 11 Mar 2016 21:06:42 +0000 (00:06 +0300)
commit6deaca13bce0f9d6f6ff748e3ef27d3ce2d8e0a3
treef677110800d51ce46a0d390513af65495bfb8393
parent371747ea01e534e64db34ea219f6aa1135968a9f
Fix unchecked pthread_join() result in threadkey_test

* tests/threadkey_test.c: Include stdio.h (unconditionally), stdlib.h
for fprintf() and exit().
* tests/threadkey_test.c (main): Abort in case of GC_pthread_join
failure.
tests/threadkey_test.c