aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/lib
diff options
context:
space:
mode:
authorGravatar Derek Murray <mrry@google.com>2016-08-24 19:35:47 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-08-24 20:47:31 -0700
commitb04c9f48ce69377a1172fd58e8ab210b435f359e (patch)
treec7f1f9e15285a63c193eda649bdae11fba13bb89 /tensorflow/stream_executor/lib
parent7a78d2e12407c3a478ca62a0992a7d6f3163e27a (diff)
Fix a lost wakeup bug in `Notification::WaitForNotificationWithTimeout()`.
If the notification was set before waiting, the waiter would never wake up. Added a test to cover this case. Fixes #3978. Change: 131247138
Diffstat (limited to 'tensorflow/stream_executor/lib')
-rw-r--r--tensorflow/stream_executor/lib/notification.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/stream_executor/lib/notification.h b/tensorflow/stream_executor/lib/notification.h
index 26873c7a95..9bb3e170dc 100644
--- a/tensorflow/stream_executor/lib/notification.h
+++ b/tensorflow/stream_executor/lib/notification.h
@@ -16,7 +16,7 @@ limitations under the License.
#ifndef TENSORFLOW_STREAM_EXECUTOR_LIB_NOTIFICATION_H_
#define TENSORFLOW_STREAM_EXECUTOR_LIB_NOTIFICATION_H_
-#include "tensorflow/core/lib/core/notification.h"
+#include "tensorflow/core/platform/notification.h"
namespace perftools {
namespace gputools {