提交 f3a55241 编写于 作者: Z zhaocheng

Merge branch 'feature/fix_buffer_unit_test' of...

Merge branch 'feature/fix_buffer_unit_test' of https://github.com/chengduoZH/Paddle into feature/fix_buffer_unit_test
......@@ -149,7 +149,7 @@ void ChannelCloseUnblocksReceiversTest(Channel<int> *ch) {
std::thread t[num_threads];
bool thread_ended[num_threads];
// Launches threads that try to read and are blocked becausew of no writers
// Launches threads that try to read and are blocked because of no writers
for (size_t i = 0; i < num_threads; i++) {
thread_ended[i] = false;
t[i] = std::thread(
......@@ -167,7 +167,7 @@ void ChannelCloseUnblocksReceiversTest(Channel<int> *ch) {
EXPECT_EQ(thread_ended[i], false);
}
// Explicitly close the thread
// Explicitly close the channel
// This should unblock all receivers
CloseChannel(ch);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册