[omniORB] about the multithread in omniORB

zhang ji zsfunl@yahoo.com
Mon Jul 1 23:07:01 2002


Hi all,

I have one problem on multithreads support in omniORB.
Since omniORB support multithread, do we need to
explicitly to create new thread in the servant
implementation? In the omniORB call back example the
server will create one thread when one client
register.
If the ORB support thread-per-request, is it OK we can
directly make the call_back call in the cxx_register
function without spawning a new thread instead?

And I want to know what the  multithread model it used
in ORB and POA: thread per client(session) or thread
per request or both? Is there some initialisation
options to specify the ORB in the thread model when
ORB start up?

Thanks,
Shifeng

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com