Skip to content

Conversation

@jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Apr 20, 2018

Separate RunSyncLoop to a method, prepare for RunAsyncLoop.
tasks: #9941

@jacquesqiao jacquesqiao changed the title Refine listen and serve op [wip]Refine listen and serve op Apr 20, 2018
@jacquesqiao jacquesqiao changed the title [wip]Refine listen and serve op Refine listen and serve op Apr 20, 2018
sleep(5);
// Write to a file of server selected port for python use.
SavePort(rpc_service_);
RunSyncUpdate(&executor, program, &recv_scope, prefetch_block);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please rename RunSyncUpdate to RunSyncLoop, for:

  1. server side program may not always be "updates" and,
  2. this function is an event loop.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok!

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@jacquesqiao jacquesqiao merged commit 7a993ee into PaddlePaddle:develop Apr 20, 2018
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.

2 participants