ace 的 orb->run() 如何结束
通常的 corba 服务程序 都是 orb->run();开始服务如果我希望停止这个服务,让它运行 orb->run() 的下一行代码,该怎么办
希望给个小例子 ,谢谢 /**
* This operation instructs the ORB to shut down. Shutting down the
* ORB causes all Object Adapters to be shut down. If
* @c wait_for_completion parameter is TRUE, this operation blocks
* until all ORB processing (including request processing and object
* deactivation or other operations associated with object adapters)
* has completed.
*/
void shutdown (CORBA::Boolean wait_for_completion = false);
页:
[1]