[omniORB] Bug fix for the ORB::shutdown

Duncan Grisby duncan at grisby.org
Mon Dec 20 18:00:12 GMT 2004


On Monday 20 December, "Burton, Craig" wrote:

> I'm seeing a difference in behavior than I'm used to (of course, I was
> previously using 4.0.2).  I'm calling "shutdown( 0 )" and the server
> process freezes.  I was under the impression that passing zero means
> not to block on active connections.

The zero argument means not to block the calling thread waiting for
shutdown to occur. Regardless of how you call shutdown(), active calls
should be allowed to complete before the shutdown succeeds.

> Here's a silly question: must one deactivate all servants prior to
> calling 'shutdown' on the ORB?

No, you don't need to do that.

What exactly are you seeing, and what did you see before?  Are you able
to get a trace from both omniORB versions with -ORBtraceLevel 25
-ORBtraceThreadId 1 ?

Cheers,

Duncan.

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



More information about the omniORB-list mailing list