Discussion:
[omniORB] omniORB and global servant activator queue
Teemu Torma
2006-07-19 21:43:52 UTC
Permalink
I noticed from a deadlock that poa has global servant activator queue,
resulting to deadlock if servant activator would trigger another
servant activator in another poa.

I can not find any documentation saying this should be prohibited. Is
this behaviour intentional or just accident?

Teemu
Duncan Grisby
2006-07-27 16:02:43 UTC
Permalink
Post by Teemu Torma
I noticed from a deadlock that poa has global servant activator queue,
resulting to deadlock if servant activator would trigger another
servant activator in another poa.
I can not find any documentation saying this should be prohibited. Is
this behaviour intentional or just accident?
The POA specification doesn't say that servant activators in different
POAs should not run concurrently, but it doesn't say that they must do
either. I'm pretty certain that omniORB has one single queue for a good
reason, to avoid a race condition leading to a deadlock, but I can't
actually remember the circumstances right now.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...