Re: [OT] Sync vs ASync Server Comms
Re: [OT] Sync vs ASync Server Comms
- Subject: Re: [OT] Sync vs ASync Server Comms
- From: Alex Zavatone <email@hidden>
- Date: Fri, 22 Feb 2013 11:50:36 -0500
Well, one reason on iOS is that it will happen on thread 1 and block the main thread which is also the thread that the GUI is handled on.
Sent from my iPad
On Feb 22, 2013, at 5:13 AM, Dave <email@hidden> wrote:
> Hi All,
>
> I was reading an article about Server/Client communications using a Rest service and the author seemed to have a downer on using the Sync (as opposed to ASync) methods of making a request and receiving a reply. Also I've noticed it being generally discouraged in quite a few other places when I was searching for 3rd Party Network Libraries. However, I can't find any reason behind it? Does anyone have any idea why ASync transactions are better than Sync transactions? Or is it just Sync'ism? lol
>
> Have a Good Weekend!
>
> Thanks
> Dave
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden