]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: s/prctl/pthread_getname_np/ for better portability
authorKefu Chai <kchai@redhat.com>
Fri, 19 Feb 2021 07:33:40 +0000 (15:33 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 23 Feb 2021 12:31:14 +0000 (20:31 +0800)
commita0e48031c4d0ba956b099daf516cc29217072fc7
tree60f58731d4765403eb53d46fe91b2a894088df27
parentbdfbdb8910359fbe1687d56e0212f33a2df57b6e
common: s/prctl/pthread_getname_np/ for better portability

prctl() is linux specific, let's use pthread_getname_np for thread names.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/code_environment.cc