]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/WorkQueue: Using pthread name instead pthread_self for heartbeat_handle_d... 7070/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Wed, 4 May 2016 10:03:53 +0000 (18:03 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Thu, 5 May 2016 10:15:07 +0000 (18:15 +0800)
commit50c8c76d8a319a4b8594cb10003c55dc79440fb7
tree8868f2a042bdd2b7c14350187cf7fd20e325f14e
parentc90ccbf227c9b822a6ffb4bfba9716a978d2b34f
common/WorkQueue: Using pthread name instead pthread_self for heartbeat_handle_d.name.

Now most threads have their own thread name. So use pthread-name instead
pthread_self to heartbeat_handle_d.name is more readable.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/common/WorkQueue.cc