add setCurrentThreadName(,2) to modify the thread name

Dear wilx:

Please forgive me for my pull request on the branch 1.1.x. The compiler on my OS can not support C++11, which required on the branch master.

sfzhang