aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/host
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-08-17 14:56:25 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-17 15:03:24 -0700
commitb48cfaea2aea3707a33e60c10385a87e37101b95 (patch)
tree897738a42d520918efcc9bbece881c5c2fcce583 /tensorflow/stream_executor/host
parentd30537a10529a73b712d805a1f26fd39ce5be609 (diff)
Make tensorflow::mutex implement a shared (reader/writer) lock, using
open source nsync library. PiperOrigin-RevId: 165633487
Diffstat (limited to 'tensorflow/stream_executor/host')
-rw-r--r--tensorflow/stream_executor/host/host_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/stream_executor/host/host_stream.h b/tensorflow/stream_executor/host/host_stream.h
index e22f49b1e6..9894d17feb 100644
--- a/tensorflow/stream_executor/host/host_stream.h
+++ b/tensorflow/stream_executor/host/host_stream.h
@@ -48,7 +48,7 @@ class HostStream : public internal::StreamInterface {
mutex mu_;
int pending_tasks_ GUARDED_BY(mu_) = 0;
- ConditionVariableForMutex completion_condition_;
+ condition_variable completion_condition_;
};
} // namespace host