[omniORB] When does orb->run() return ?

J-M Epitalon Jean-Marie.Epitalon at cerfacs.fr
Fri Mar 31 18:38:33 BST 2006


Hello,

I looked at the documentation and ist sample code.
Each server code ends with orb->run() then orb->destroy().

But it seems that orb->run() does not return except by typing <CtRL-C>,
killing the process...

I would like to know when orb->run() returns.
Should I call orb->destroy() from another thread ?

Or does it return when no more object is activated ?
By the way, how do I deactivate an object.

Thanks in advance for your help....
-- 
Jean-Marie Epitalon
CERFACS
42, av Coriolis
31057 TOULOUSE Cedex
Tel: 05 61 19 30 72




More information about the omniORB-list mailing list