[omniORB] Fwd: How to make an application which is both an omniorb client and TAO server

Duncan Grisby duncan at grisby.org
Thu Jul 1 21:00:56 BST 2004


On Thursday 1 July, renny.koshy at rubixinfotech.com wrote:

> We have had cases where we use third party libs which REQUIRE a *single* 
> thread to access them.  Access from any thread other than the one that 
> initialized the lib will cause the lib to go crazy (even when those 
> accesses are sequential).... In those cases, we've had to use a 
> "worker-thread" model to de-couple the ORB threads and mux them into the 
> single main thread....

That's what the MAIN_THREAD_MODEL threading policy does for you.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list