Avoid mutex in RequestContext setShallowCopyContext
Summary: Grabbing the mutex of the newly created context is unecessary cost. folly::Synchronized's constructor support this optimization, so it's an easy change. Reviewed By: yfeldblum Differential Revision: D15600165 fbshipit-source-id: e92570a7ac7ac1e908d7c797bed6de22f940d387
Showing
Please register or sign in to comment