Archived

This forum has been archived. Please start a new discussion on GitHub.

WaitForShutdown blocks forever

I've tried the "Hello World" examples for both C++ and Java but in both I find that in both cases the server side never returns from WaitForShutdown. As I understand the documentation this call should return when shutdown or destroy is called on the communicator on the client side. I've tried both calls on the client side but I never see the server side shutdown. What am I doing wrong? Am I missing something?

Comments

  • xdm
    xdm La Coruña, Spain
    These are local operations, waitForShutdown just wait for communicator shutdown, so if you don't call destroy/shutdown in the specific communicator it never returns. Calls to client communicator shutdown has not effect on server side communicators.
  • ah, I see! Thanks for the info!