Fix hang in futex_requeue_pi_signal_restart plus cleanups

It was possible for the main thread to issue the signal prior to the
waiter blocking on the futex, leading to a test-case hang. Add some
logic to effectively close this race window and put requeue_pi in a loop
to ensure it doesn't hang.

Add a signal before the requeue to test both cases.

Cleanup the output a bit and remove some unecessary code blocks. More
cleanup is still needed.

Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
1 file changed
tree: 11a9da7cdc5575e171be830cf3d49e240b5f69a3
  1. .gitignore
  2. Makefile
  3. README
  4. functional/
  5. include/
  6. performance/
  7. run.sh
  8. stress/