Re: communicating objects
- From: Michael Meeks <michael ximian com>
- To: Thomas Fritz <Thomas Fritz bam de>
- Cc: orbit <orbit-list gnome org>
- Subject: Re: communicating objects
- Date: Wed, 21 Jan 2004 22:37:02 +0000
Hi Thomas,
On Tue, 2004-01-20 at 19:36, Thomas Fritz wrote:
> does ORBit2 support calling an object's method from within an other
> object's method? (I tried this with no success)
Yes of course; it does this re-enterantly by default; but if you have
exotic threading policies it uses those.
> If it does, is there some sample code?
Well; the test code is full of nasty hacks not to be copied, but to
prove it works see ORBit2/test/everything/client.c and pingServer.c
particularly _pingPong - which passes a token back/forth umpteen times.
I guess your bug is unrelated; try building ORBit2 from clean
configured with --enable-debug=true; export ORBIT2_DEBUG=traces re-run
the clients and see what's going on wrt. method invocations.
HTH,
Michael.
--
michael@ximian.com <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]