am d29b4f65: Merge "Use gettid directly."

* commit 'd29b4f656574d748f8e66a23028a690796b5fe2e':
  Use gettid directly.