diff options
author | 2018-03-12 11:02:29 -0700 | |
---|---|---|
committer | 2018-03-12 11:06:44 -0700 | |
commit | 1d6a57edc0be0dcc0c92eb2610b88420a7b7be51 (patch) | |
tree | beec27e175dc508ad0340d57b89676a805e5c79d /tensorflow/contrib/image | |
parent | 89177f289e9467e04b205a1a3e705ad67d9854d2 (diff) |
Fix race in C API.
RecordMutation could race with ExtendSessionGraphHelper, which would
release the graph lock and only keep the session lock when extending
the session.
Also makes sure thread annotations are on declarations, not definitions
(otherwise they have no effect).
PiperOrigin-RevId: 188747158
Diffstat (limited to 'tensorflow/contrib/image')
0 files changed, 0 insertions, 0 deletions