[omniORB] orb shutdown

Duncan Grisby duncan@grisby.org
Wed Jun 26 23:18:01 2002


On Tuesday 25 June, bjorn rohde jensen wrote:

>  I usually provide my servers with an administration
> interface, which includes a shutdown method. The method
> simply wakes a thread, which calls shutdown on the orb.
> You could also have the shutdown method itself call
> shutdown on the orb, but to avoid deadlock, it may not
> wait for current requests to complete, so i usually
> dont do this.

There's no need for a separate thread. Just call shutdown with
argument of 0, meaning don't wait for completion of requests.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --