Re: DO proxy question
Re: DO proxy question
- Subject: Re: DO proxy question
- From: Timothy Ritchey <email@hidden>
- Date: Sat, 11 May 2002 09:12:04 -0500
I asked the same question a few weeks ago, and didn't get any response.
I moved on to some other problems, but your query has prodded me into
looking into this issue. The inner workings of DO seem to be a black-box
to most. I am going to do a little experiment this weekend, and see if I
can answer your question. I have a sneaking suspicion that the calls
will still go over the existing connection, and here is my twisted logic:
DO is often cited as a way to get around the lack of thread support in
AppKit. Even though two objects are in different threads, they should
still be in the same address-space right? But they are still separated
by the queueing mechanism. Perhaps this is due to the explicit nature of
setting up this kind of connection, but I would be surprised if the
mechanism you are referring to is any smarter about it. How would the
run-time system distinguish between the two cases?
Anyway, just rambling. I don't KNOW anything ... yet. I'll get back to
the list when I find out more...
Cheers,
tim
On Friday, May 10, 2002, at 02:44 PM, Brian Webster wrote:
Let's say I have two processes, A and B, that want to communicate using
distributed objects, and process B has two objects in it, call them X
and Y. Now, A gets a proxy to each of these two objects - we'll call
the proxies X' and Y'. If A sends a message to X' and passes in Y' as
an argument to the message (assume this is a byref argument), is the DO
system smart enough so that the real object X will get the real object
Y passed to it since they live in the same address space in process B?
Or will X get a proxy to the proxy instead (i.e. Y'')?
P.S. Sorry for any calculus flashbacks this message may have
triggered. ;-)
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.