Re: How can I get a single threaded network call in ObjC on iOS?
Re: How can I get a single threaded network call in ObjC on iOS?
- Subject: Re: How can I get a single threaded network call in ObjC on iOS?
- From: Jerry Krinock <email@hidden>
- Date: Tue, 28 Jun 2016 16:35:44 -0700
> On 2016 Jun 28, at 13:16, Jim Adams <email@hidden> wrote:
>
> the second request cannot go through until the first request has completed … with a multi threaded system, I cannot figure out a way to do that. Ideas appreciated.
dispatch_semaphore
Documentation is currently here:
https://developer.apple.com/library/mac/documentation/General/Conceptual/ConcurrencyProgrammingGuide/OperationQueues/OperationQueues.html#//apple_ref/doc/uid/TP40008091-CH102-SW24
_______________________________________________
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