am ddbf561e: am c843d766: Merge "Handles spurious wake-ups in pthread_join()"

* commit 'ddbf561e5ee8f16fc15d26b085d19ce6abf7e4e0':
  Handles spurious wake-ups in pthread_join()