[omniORB] omniORB4 select() by application
Duncan Grisby
duncan at grisby.org
Fri Jun 17 13:18:00 BST 2005
On Tuesday 7 June, Andrew Miller wrote:
> I am investigating ways to extract the file descriptors from omniORB4
> to take control of the main loop in a MAIN_THREAD_MODEL thread policy
> situation(without having to periodically poll work_pending() on the
> ORB object).
That isn't the way omniORB works. It always has its own threads handling
connections and incoming calls, so you can't get hold of the file
descriptors to select on in the main thread.
The way the main thread model is implemented, most of the work for a
call is done by threads started by omniORB, and only the upcall into
application code is done by the main thread.
What are you actually trying to do? Do you really need to use the main
thread model?
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list