diff options
author | 2018-10-04 11:09:52 -0700 | |
---|---|---|
committer | 2018-10-04 11:16:23 -0700 | |
commit | 6850dafeeaaa48efa748134688844bd079ef3949 (patch) | |
tree | cdfe59f5267399a482df1925bfb04b1746da1989 /tensorflow/core | |
parent | e1a8f4b03df2ef84538c01788b6043eb723cd046 (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.cc | 1 |
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(); |