am eeecff72: Merge "Fix pthreads functions that should return ESRCH."

* commit 'eeecff7293efd6becf3b07b8d24cada3d820c894':
  Fix pthreads functions that should return ESRCH.