aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-10-04 11:09:52 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-04 11:16:23 -0700
commit6850dafeeaaa48efa748134688844bd079ef3949 (patch)
treecdfe59f5267399a482df1925bfb04b1746da1989 /tensorflow/core
parente1a8f4b03df2ef84538c01788b6043eb723cd046 (diff)
collective_param_resolver_local.cc: delete DCHECK(!ir->out_mu.try_lock()); in a lambda
UNLOCK_FUNCTION(ir->out_mu) annotates that the lock is held on entry. try_lock() should not be called. PiperOrigin-RevId: 215769341
Diffstat (limited to 'tensorflow/core')
-rw-r--r--tensorflow/core/common_runtime/collective_param_resolver_local.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/core/common_runtime/collective_param_resolver_local.cc b/tensorflow/core/common_runtime/collective_param_resolver_local.cc
index 3b2dc6a050..7cb90de3c7 100644
--- a/tensorflow/core/common_runtime/collective_param_resolver_local.cc
+++ b/tensorflow/core/common_runtime/collective_param_resolver_local.cc
@@ -522,7 +522,6 @@ void CollectiveParamResolverLocal::CallInitInstanceSharedParams(
InitInstanceSharedParams(
gr, cp, ir,
[this, ir, done](const Status& s) UNLOCK_FUNCTION(ir->out_mu) {
- DCHECK(!ir->out_mu.try_lock());
DCHECK(ir->out_mu_available);
ir->status.Update(s);
ir->out_mu.unlock();