Merge changes from topic "revert-1202786-setpriority-TIVPLDCHJU"

* changes:
  Revert "Use ThreadPrioritySetter to set thread priority"
  Revert "Refine documentation of getNativeTid() function"