Check for pthread_create errors and move barrier logic into harness

If thread creation fails then join with existing threads and exit.

Moved the before/after barrier logic into the test harness rather
than the futex_[set]wait_test functions.

Signed-off-by: Michel Lespinasse <>
Signed-off-by: Darren Hart <>
2 files changed
tree: b3033e64220d309468c5050d9e5e973e33a0b710
  1. .gitignore
  2. Makefile
  4. functional/
  5. include/
  6. performance/
  8. stress/