aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/c
diff options
context:
space:
mode:
authorGravatar Derek Murray <mrry@google.com>2018-07-27 14:21:42 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-27 14:25:46 -0700
commitb53f5aa1f6f1abea6457e9828f2041c95b3b1720 (patch)
tree3606b11ce33a388c21fab60f11ebf4d665c6892a /tensorflow/c
parent81d927bfc7e1e4c7b28aabdb0c64a12cec2833fe (diff)
Prevent deadlocks when OP_REQUIRES is used in AsyncOpKernel::ComputeAsync().
If OP_REQUIRES or OP_REQUIRES_OK are used in an override of AsyncOpKernel::ComputeAsync() and the condition does not hold, the process will deadlock because the `done` callback is never called. This change raises a fatal error with an actionable error message in this case. PiperOrigin-RevId: 206373312
Diffstat (limited to 'tensorflow/c')
0 files changed, 0 insertions, 0 deletions