Skip to content

Conversation

@chengduoZH
Copy link
Contributor

@chengduoZH chengduoZH commented Feb 7, 2018

To simplify the code,

  • the function UnbufferedChannelCloseUnblocksSendersTest and the function BufferedChannelCloseUnblocksSendersTest use a common function(ChannelCloseUnblocksSendersTest).
  • the function UnbufferedChannelCloseUnblocksReceiversTest and the function BufferedChannelCloseUnblocksReceiversTest use a common function(ChannelCloseUnblocksReceiversTest)

To get someone else to understand channel faster, I add the properties of BufferedChannel and UnBufferedChannel in buffered_channel.h and unbuffered_channel.h.

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! Great work!

@chengduoZH chengduoZH merged commit 6b49401 into PaddlePaddle:develop Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants