Re: When a bonobo call is executed in my object?
- From: "Nickolay V. Shmyrev" <nshmyrev yandex ru>
- To: cerdiogenes yahoo com br
- Cc: gnome-components-list gnome org
- Subject: Re: When a bonobo call is executed in my object?
- Date: Thu, 18 May 2006 23:03:25 +0400 (MSD)
>On Tue, 2006-05-16 at 02:40 +0400, Nickolay V. Shmyrev wrote:
>> В Пнд, 15/05/2006 в 09:36 -0300, Carlos Eduardo Rodrigues Digenes
>> пишет:
>> > Hi,
>> >
>> > When my object is running it's executing a lot of computations. When
>> > this object receive a bonobo call, how it's processed? Can someone
>> > explaim how is the flow from the client call until my code?
>> >
>> > Thanks.
>>
>> Usually server is running a mainloop, and periodically checks/polls
>> socket for incoming messages. If your program blocks mainloop during
>> request processing, object may not respond to other client requests.
>>
>> Although this scheme can be more complicated - POA may be configured to
>> run all requests in separate thread, run every request in separate
>> thread and so on. Request processing scheme depends on your own.
>>
>> Look into the into orbit-adaptor.h for additional information. Here is
>> the example of usage:
>
>Where orbit-adaptor.h is located. I download ORBit from cvs, but I can't
>find it.
>
>>
>> http://jmvanel.free.fr/corba/orbit-docs/examples/threaded-calculator/?S=A
>>
>> Please note that threaded programming is quite complicated, you should
>> be very careful.
>>
>>
http://cvs.gnome.org/viewcvs/ORBit2/include/orbit/poa/orbit-adaptor.h?rev=1.16&view=markup
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]