Re: When a bonobo call is executed in my object?
- From: Carlos Eduardo Rodrigues Diógenes <cerdiogenes yahoo com br>
- To: "Nickolay V. Shmyrev" <nshmyrev yandex ru>
- Cc: gnome-components-list gnome org
- Subject: Re: When a bonobo call is executed in my object?
- Date: Wed, 17 May 2006 12:51:00 -0300
On Tue, 2006-05-16 at 02:40 +0400, Nickolay V. Shmyrev wrote:
> В Пнд, 15/05/2006 в 09:36 -0300, Carlos Eduardo Rodrigues Diógenes
> > 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
> Please note that threaded programming is quite complicated, you should
> be very careful.
Carlos Eduardo Rodrigues Diógenes
] [Thread Prev