diff options
author | 2018-09-17 22:09:02 -0700 | |
---|---|---|
committer | 2018-09-17 22:13:46 -0700 | |
commit | 7c826588b058c14fd8c152bedb4e256c57ae1248 (patch) | |
tree | 7acacce04bca5d86d24969278a3553a96cd1f1c0 /tensorflow/contrib/verbs/verbs_server_lib.cc | |
parent | b91e27a9c33d038af79a0944eb9046b926d483c8 (diff) |
Automated rollback of commit 185aa89912376d4088c22615908696cd30f9951b
PiperOrigin-RevId: 213394522
Diffstat (limited to 'tensorflow/contrib/verbs/verbs_server_lib.cc')
-rw-r--r-- | tensorflow/contrib/verbs/verbs_server_lib.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tensorflow/contrib/verbs/verbs_server_lib.cc b/tensorflow/contrib/verbs/verbs_server_lib.cc index 61469686e4..1a0b5028fe 100644 --- a/tensorflow/contrib/verbs/verbs_server_lib.cc +++ b/tensorflow/contrib/verbs/verbs_server_lib.cc @@ -76,13 +76,8 @@ Status VerbsServer::ChannelCacheFactory(const ServerDef& server_def, return Status::OK(); } -namespace { -std::once_call reg_mem_visitors_call; -} // namespace - Status VerbsServer::Init(ServiceInitFunction service_func, RendezvousMgrCreationFunction rendezvous_mgr_func) { - std::call_once(reg_mem_visitors_call, []() { RdmaMgr::RegMemVisitors(); }); Status s = GrpcServer::Init(service_func, rendezvous_mgr_func); { mutex_lock l(mu_); |