Discussion:
[omniORB] Stopping Scavenger thread
smitha smi
2013-01-04 16:30:57 UTC
Permalink
Hello,

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?



If yes where do i find this in omni ORB Source. i mean the path?



Thanks,

Smitha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130104/84354e09/attachment.html>
Duncan Grisby
2013-01-07 11:19:19 UTC
Permalink
Post by smitha smi
We have a requirement.. where in we need to stop scavenger thread
before we exit from the application.
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 --
Loading...