Re: Looking for performance-oneway asynch call
Re: Looking for performance-oneway asynch call
- Subject: Re: Looking for performance-oneway asynch call
- From: Lindsey Spratt <email@hidden>
- Date: Thu, 31 Oct 2002 18:24:59 -0600
On Thu, 31 Oct 2002 21:58:46 +0100, kubernan <email@hidden> wrote:
>
I tried to add some locks in my code, i tried to avoid the synchronous
>
reply from the server but there is always the same problem.
It seems like using an asynchronous call (and doing the validity check
on the calling thread) would get around your performance problem.
Did you use the "oneway void" declaration on the target of the
meant-to-be asynchronous call?
Something like:
-(oneway void)asynchMethod
{
//do stuff
}
Without the oneway attribute, as I understand it, *all* messages are
synchronous, whether or not the message sending/method calling code
explicitly expects a result or not.
>
Lindsey Spratt
http://homepage.mac.com/lspratt
_______________________________________________
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.