incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J├╝rgen Schmidt <jogischm...@gmail.com>
Subject Re: Mixed oneway and normal/synchronous UNO interface calls
Date Thu, 16 Aug 2012 15:30:04 GMT
On 8/16/12 4:49 PM, Andre Fischer wrote:
> On 16.08.2012 15:19, Karsten Burger wrote:
>> Hello,
>>
>> I posted this to ooo-users but was advised to post it here:
>>
>> I found this guarantee for oneway calls:
>>
>> http://www.openoffice.org/udk/common/man/uno.html
>>
>>>>     sequence of calls:
>>>>     UNO allows declaring a method oneway (or asynchron). Multiple,
>>>>     oneway calls are guaranteed to be executed in the same sequence as
>>>>     they were called.
>>
>>
>> Now my question: what happens when oneway and normal synchronous calls
>> are mixed?
>>
>> We use UNO as a component framework for our large project (on Redhat
>> Linux EL5.8)  with many of our own interfaces. E.g. if several oneway
>> calls are issued, and then a synchronous call, does the synchronous
>> call wait until the oneway calls are finished? Or are normal and
>> oneway/async calls not connected?
>>
>> I also found this:
>>
>> http://www.openoffice.org/gsl/UnoOnewayDeadlock.html
> 
> I am afraid that I can not answer your question but I am glad that you
> found this URL.  It may describe the reason for a freeze bug that came
> up recently (https://issues.apache.org/ooo/show_bug.cgi?id=120476).
> 
> -Andre

I can't remember all the details around oneway calls but I think we did
not really deprecated them but gave advice to not use oneway calls.

I think you have to do some tests for your scenario to ensure that the
behaviour is exactly what you expected or need.

What kind of project you are working on, it sounds interesting that you
are using UNO as component framework.

I remember a company who decided to use UNO for their project as well
and they had chosen UNO because of the feature set and performance
compared to other middleware technologies. Several years ago and they
did a very good analysis before they had contacted us and asked if we
could extract UNO from the office make it standalone available. That was
the birth of the URE.

But my plan is more to rework the 3 layer office to get rid of some
complexity. We don't release an URE at Apache at the moment.

Juergen


Mime
View raw message