[omniORB] How to get file descriptor from a CORBA request?

Alex Tingle alex.tingle at bronermetals.com
Mon Oct 2 17:22:53 BST 2006


You should avoid SINGLE_THREAD_MODEL, since it doesn't guarantee that 
your upcalls will be handled by a single thread, only that the upcalls 
will be made sequentially. OmniORB's MAIN_THREAD_MODEL is a better bet, 
since it guarantees that all upcalls are handled by the main thread.

http://blog.firetree.net/2005/06/14/single_thread_model/

-Alex

--
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net  +44-7901-552763

On 29 Sep 2006, at 22:19, Tuyen Chau wrote:

> Duncan Grisby wrote:
>> The normal approach is to put something in per-thread state. You don't
>> want to put it on the servant object because multiple clients could 
>> call
>> a single servant concurrently.
>>
>> Cheers,
>>
>> Duncan
> This brings up another problem for us that we didn't anticipate.  Our 
> implementation unfortunately is not thread safe.  Is there anyway we 
> can force a single thread model in omniORB?  It will be a big job for 
> us to make our code thread safe.
>
> Thanks for your response,
> Tuyen
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list




More information about the omniORB-list mailing list