am e9a7c5e1: Merge "export setThreadName() and add NULL check"

* commit 'e9a7c5e17bc1677c4b35f1c171a2718050ca799a':
  export setThreadName() and add NULL check