[omniORB] Single threaded CORBA object in OmniORBpy
Duncan Grisby
duncan at grisby.org
Fri Jul 23 17:38:33 BST 2004
On Monday 19 July, Lazy wrote:
[...]
> The big problem for me is threading model of COM (COM reference neads to
> be directed to one thread)
> in CORBA there are multiple threads running the servant.
That's what POAs with the main thread policy are for.
> I'm late with my assigment and I nead it fixed fast.
Maybe you should have worked on your assignment sooner ;-)
> I found some information about switching to one thread for objects mode
> in
> http://www.omniorb-support.com/pipermail/omniorb-list/2003-November/024496.html
> using the omniORB::setMainThread(). But I failed to locate this method
> in omniORBpy's omniORB.CORBA.ORB class.
It's not available to Python at present. You don't need it, though,
since the main thread policy will pick the right main thread.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list