Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

rpc_session: do some refactor #116

Merged
merged 2 commits into from
Jul 2, 2018
Merged

Conversation

shengofsun
Copy link
Contributor

  1. adjust name and position of some functions in rpc session
  2. rename "close_on_fault_injection" to more general "close"
  3. delete a useless function

1. adjust name and position of some functions in rpc session
2. rename "close_on_fault_injection" to more general "close"
3. delete a useless function
qinzuoyan
qinzuoyan previously approved these changes Jul 2, 2018
DSN_API bool unlink_message_for_send();
DSN_API void clear_send_queue(bool resend_msgs);
// return whether there are messages for sending;
// should always be called in lock
Copy link
Contributor

Choose a reason for hiding this comment

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

这个注释是用来注释 unlink_message_for_send()函数的吧?

// buffer is prepared well in _sending_buffers
// always call on_send_completed later
//
public:
Copy link
Contributor

Choose a reason for hiding this comment

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

去掉public?

@shengofsun shengofsun merged commit 1b3d336 into XiaoMi:master Jul 2, 2018
@qinzuoyan qinzuoyan mentioned this pull request Aug 20, 2018
28 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants