[omniORB] Single-threaded behaviour changed between omniORB3 & omniORB4?
Duncan Grisby
duncan@grisby.org
Wed Feb 5 17:28:01 2003
On Wednesday 5 February, =?iso-8859-1?q?Donnacha=20Forde?= wrote:
> Has the default thread behaviour for dispatching
> requests changed between omniORB3 and omniORB4? Even
> for oneway calls?
Yes. omniORB 4 deals with concurrent calls on a single TCP connection
with multiple threads; omniORB 3 only used one thread per connection.
Both versions use multiple threads if there are multiple TCP
connections.
> I understand that the default behaviour is a server is
> single-threaded, regardless of how many threads the
> orb uses underneath the covers. In other words,
> requests are delivered serially to your object/method
> (unless you code it to be otherwise).
No. The default is that calls can be dispatched on multiple threads
concurrently. If you want single threading, you must create a single
thread model POA explicitly.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --