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 <walken@google.com>
Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
2 files changed
tree: b3033e64220d309468c5050d9e5e973e33a0b710
  1. functional/
  2. include/
  3. performance/
  4. stress/
  5. .gitignore
  6. Makefile
  7. README
  8. run.sh