Move afs_pthread_setname_self to opr 55/13655/2
authorAndrew Deason <adeason@sinenomine.net>
Wed, 26 Jun 2019 16:47:21 +0000 (11:47 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 28 Jun 2019 15:37:32 +0000 (11:37 -0400)
commit9d28f7390332c92b3d9e863c6fe70c26db28b5ad
tree8a393146e7472e998e68756fabd049ea697d019c
parent99418024276c94da5982d7dad6126a8d53924d7e
Move afs_pthread_setname_self to opr

Move the functionality in afs_pthread_setname_self from libutil to
opr, in a new function opr_threadname_set. This allows us to more
easily use the routine in more subsystems, since most code already
uses opr.

Change-Id: I79d49617a19cd292a3b09ccfd9c9f319355a184e
Reviewed-on: https://gerrit.openafs.org/13655
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
18 files changed:
src/budb/dbs_dump.c
src/butc/dbentries.c
src/butc/dump.c
src/butc/lwps.c
src/butc/recoverDb.c
src/butc/tcudbprocs.c
src/opr/Makefile.in
src/opr/liboafs_opr.la.sym
src/opr/opr.h
src/opr/threadname.c [moved from src/util/pthread_threadname.c with 75% similarity]
src/ubik/beacon.c
src/ubik/recovery.c
src/util/Makefile.in
src/util/afsutil_prototypes.h
src/util/liboafs_util.la.sym
src/viced/viced.c
src/vol/fssync-server.c
src/volser/volmain.c