am c836fcbb: Merge "Made sync-test actually wait for first thread to start."

* commit 'c836fcbb52d99efdd9ed4f5c104aebd0c37cb121':
  Made sync-test actually wait for first thread to start.