[omniORB] deactivate_object() in SINGLE_THREADED mode

Michael Kilburn crusader.mike at gmail.com
Thu Nov 8 00:42:47 GMT 2007


Hi

I have checked mailing list archive and did not find answer to this
question:

for given servant that is registered in POA that works in SINGLE_THREADED
mode -- is it possible to receive more requests after method that calls
deactivate_object() returns? I am looking for two answers:
- from CORBA Standard point of view
- how it is implemented in omniORB v4.0.1 and higher

CORBA standard v2.5 says vaguely that object will be marked as inactive and
removed from the active objects map after all requests ***that arrived
before*** deactivate_object() returns. Which sounds perfectly fine in
ORB_CTRL mode, but vague in case of single threaded mode, because "request
arrival" could be treated differently (i.e. arrived over some connection or
arrived and put into some queue along with addref'ed pointer to servant)

-- 
Sincerely yours,
Michael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20071108/8e405b66/attachment.htm


More information about the omniORB-list mailing list