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. .gitignore
  2. Makefile
  3. README
  4. functional/
  5. include/
  6. performance/
  7. run.sh
  8. stress/