Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12112
Change subject: [util] use lighter locking scheme for ThreadMgr ...................................................................... [util] use lighter locking scheme for ThreadMgr Use the rw_spinlock primitive to guard the ThreadMgr's registry threads instead of Mutex. Also, use the shared lock pattern to for read-only access to the guarded entities of the ThreadMgr. In addition, do not hold the ThreadMgr's lock for the whole duration of generating the /threadz page for the embedded webserver. Change-Id: I4d49c1c39392e01c45019844430a4fe3d116c277 --- M src/kudu/util/os-util.cc M src/kudu/util/thread.cc 2 files changed, 70 insertions(+), 66 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/12/12112/1 -- To view, visit http://gerrit.cloudera.org:8080/12112 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I4d49c1c39392e01c45019844430a4fe3d116c277 Gerrit-Change-Number: 12112 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
