[omniORB] in MAN_THREAD_MODEL omniORB releases references from
other thread
Michael Kilburn
crusader.mike at gmail.com
Tue Jan 13 19:53:40 GMT 2009
>
> I assume you mean calling poa->deactivate_object() ?
Yes.
> The CORBA spec doesn't say a huge amount about the main thread model.
> All it says is that "upcalls" are handled by the "main" thread, but it
> doesn't specify what constitutes an upcall.
I noticed it -- that is why I used "almost violation".
> you can force use of the main
> thread by registering a ServantActivator that is itself activated in a
> POA with the main thread policy. That way, servants will be released
> using a call the etherealize() on the ServantActivator, which will
> happen on the main thread.
>
Thanks, Duncan!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20090113/b760d1d7/attachment.htm
More information about the omniORB-list
mailing list