-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add block when channel empty, successfully transfer when there is a send #8063
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
paddle/framework/channel_test.cc
Outdated
EXPECT_EQ(sum_send, 3U); | ||
|
||
CloseChannel(ch); | ||
t.join(); | ||
delete ch; | ||
} | ||
|
||
TEST(Channel, UnbufferedEmptyReceiveSendReceiveTest) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that UnbufferedEmptyReceiveSendReceiveTest
is similar with UnbufferedMoreReceiveLessSendTest
. Is there a redundancy? I'm not sure. @abhinavarora
I agree with @chengduoZH 's comment above. Closing this PR since the functionality seems redundant. |
No description provided.