[omniORB] unbind after orb->run fails

Duncan Grisby dgrisby@uk.research.att.com
Fri, 27 Apr 2001 12:27:02 +0100


On Thursday 26 April, "Olaf Meding" wrote:

> Maybe, call unbind() before calling orb->shutdown()?  But the
> orb->shutdown() is called from a different thread.  It was my understanding
> that orb->shutdown() is the only orb call that can be called from a
> different thread.

Yes, you should call unbind() before orb->shutdown(). You can make any
CORBA call you like from any thread. Any multi-threaded ORB which
doesn't allow that is rather broken.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --