Skip to content
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

Closed
wants to merge 6 commits into from

Conversation

kavyasrinet
Copy link

No description provided.

abhinavarora
abhinavarora previously approved these changes Feb 2, 2018
Copy link
Contributor

@abhinavarora abhinavarora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

EXPECT_EQ(sum_send, 3U);

CloseChannel(ch);
t.join();
delete ch;
}

TEST(Channel, UnbufferedEmptyReceiveSendReceiveTest) {
Copy link
Contributor

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

@kavyasrinet
Copy link
Author

I agree with @chengduoZH 's comment above. Closing this PR since the functionality seems redundant.

@kavyasrinet kavyasrinet closed this Feb 5, 2018
@kavyasrinet kavyasrinet deleted the channel branch February 8, 2018 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants