[ace-users] Singlethread servant upcall (using CSD)

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Tue Oct 2 07:21:39 CDT 2007

Hi Jochen,

>> SINGLE_THREAD_MODEL policy is a POA policy. Using direct collocation
>> you are bypassing the POA and therefore the single threaded strategy
>> doesn't come into play. I recommend using the 'thru_poa' collocation
>> strategy. Let us know if you run into any further issues.
>in the meantime we found the problem. We have to use the Wait-on-Read Wait 
>The "borrowing"  of other threads by the ORB caused serious racing 
>conditions. I'm really wondering why this is the default when the POA is 
>configured with the thread policy PortableServer::SINGLE_THREAD_MODEL.

The ORB and the POA policies are at different levels of abstraction
and should be completely orthogonal.

Take care,

Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu

More information about the Ace-users mailing list