[omniORB] Getting ObjectId when using default servant

Sai-Lai Lo S.Lo@uk.research.att.com
19 Dec 2000 11:27:03 +0000


On the support of the POA current object.

It is actually a bit more involve than just depositing some state in the thread
local storage. 

The semantics of some of the POA APIs changes depend on whether they are
called within an upcall to a CORBA implementation. Also, same address space
call must have the same semantics as a remote call. This turns out to be
quite nasty.

In general, in a chain of nested CORBA calls, it is possible that all the
CORBA objects involved are colocated, to do the right thing, it is
necessary to keep a stack of call contexts in the thread local storage so
that POACurrent will give the right answer.

This is all doable. However, I'm not happy with the impact on performance
caused by all these extra housekeeping work. 

Sai-Lai

-- 
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 1223 343000
Cambridge CB2 1QA                     Fax:   +44 1223 313542
ENGLAND