Add new test for waiting on pending calls in threads
authorSimon McVittie <smcv@collabora.com>
Thu, 1 Feb 2018 19:47:00 +0000 (19:47 +0000)
committerSimon McVittie <smcv@collabora.com>
Wed, 7 Feb 2018 07:34:35 +0000 (07:34 +0000)
commit7065b515271002efa8e1a4e305bc60c0f61a21d3
treebc868a85fd5d7b6c8d12f1952e1dd567aee1c58e
parent3ccad29fba561b4321df7c9926cd4d7544dcaed0
Add new test for waiting on pending calls in threads

Based on code contributed by Manish Narang. This is not included in the
automated test suite, because it isn't reliable on heavily-loaded
automatic test infrastructure like Travis-CI.

Reviewed-by: Philip Withnall <withnall@endlessm.com>
[smcv: Add the test to the CMake build system too, as requested]
[smcv: Convert into a manual test]
Signed-off-by: Simon McVittie <smcv@collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=102839
(cherry picked from commit 0b1e2928606e0cf138c38e75eb248d2ed19bff15)
cmake/test/CMakeLists.txt
test/Makefile.am
test/thread-blocking.c [new file with mode: 0644]