[omniORB] Stopping Scavenger thread

Duncan Grisby duncan at grisby.org
Mon Jan 7 11:19:19 GMT 2013


On Fri, 2013-01-04 at 22:00 +0530, smitha smi wrote:

> We have a requirement.. where in we need to stop scavenger thread
> before we exit from the application.
>  
> We are planing to use : 
> StrandScavenger::killOutScavenger()
>  
> Is it the right API?

What version of omniORB are you using?  That function was in omniORB
2.x, which has been obsolete for years and years.

With a modern version of omniORB, you should clean up by calling
orb->destroy(). That stops all threads and releases all other resources.

Cheers,

Duncan.

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





More information about the omniORB-list mailing list