[omniORB] Multithreading
Duncan Grisby
duncan@grisby.org
Tue Nov 19 14:54:01 2002
On Tuesday 19 November, "Sander Steffann" wrote:
> I think that from omniORB4+ the orb->run() actualy performs some work, so at
> least orb->run() or orb->perform_work() should be called... Your statements
> are correct AFAIK for omniORB3.
Not quite. omniORB 4.0 supports the main thread POA policy, meaning
calls are dispatched in the main application thread. For that to work,
the ORB must be given the main thread with either orb->run() or
orb->perform_work(). If you don't use the main thread policy (which
you shouldn't, because it's evil), there is still no need to call
orb->run().
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --