Re: When a bonobo call is executed in my object?

Carlos Eduardo Rodrigues Diógenes <[email protected]> Wed, 17 May 2006 12:51:00 -0300
Newsgroups gmane.comp.gnome.components
Message-ID <[email protected]>
On Tue, 2006-05-16 at 02:40 +0400, Nickolay V. Shmyrev wrote:
> =D0=92 =D0=9F=D0=BD=D0=B4, 15/05/2006 =D0=B2 09:36 -0300, Carlos Eduardo =
Rodrigues Di=C3=B3genes
> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> > Hi,
> >=20
> > 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?
> >=20
> > Thanks.
>=20
> 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.=20
>=20
> 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.
>=20
> 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.

>=20
> http://jmvanel.free.fr/corba/orbit-docs/examples/threaded-calculator/?S=
=3DA
>=20
> Please note that threaded programming is quite complicated, you should
> be very careful.
>=20
>=20
--=20
Carlos Eduardo Rodrigues Di=C3=B3genes