Le 18 juil. 2010 à 11:17, Ryan McGann a écrit :
>
> On Jul 18, 2010, at 7:42 AM, Rafael Cerioli wrote:
>
>> Le 18 juil. 2010 à 03:03, Ryan McGann a écrit :
>>> Unfortunately, I can't find the sources at the moment as it was a while
>>> ago, but there was an interesting discussion about this to
On Jul 18, 2010, at 7:42 AM, Rafael Cerioli wrote:
> Le 18 juil. 2010 à 03:03, Ryan McGann a écrit :
>> Unfortunately, I can't find the sources at the moment as it was a while ago,
>> but there was an interesting discussion about this topic on the
>> macnetworkprog mailing list. Apple found in
Le 18 juil. 2010 à 03:03, Ryan McGann a écrit :
>>
> Unfortunately, I can't find the sources at the moment as it was a while ago,
> but there was an interesting discussion about this topic on the
> macnetworkprog mailing list. Apple found in the early days of iPhone
> programming that threads
(Sorry, re-sending with the appropriate subject. Stupid copy & paste failed, my
bad).
>> On Jul 16, 2010, at 3:46 PM, Rafael Cerioli wrote:
>>
>>> Hi everybody,
>>>
>>> What would be the most efficient way to download data without blocking the
>>> UI (I'm targeting old iPhone/iPod devices) ?
On Jul 17, 2010, at 3:27 PM, Rafael Cerioli wrote:
> Ok, ok busted : I'm not much experienced ! That's precisely why I was
> writing to that list in the first place : trying to get knowledge more
> concrete than my intuitions, I thought that was the point.
Yes, but you pushed back whenever pe
Le 17 juil. 2010 à 12:19, Ken Thomases a écrit :
> On Jul 17, 2010, at 10:38 AM, Rafael Cerioli wrote:
>
>> Just out of curiosity, if there is communication between threads, even with
>> runloops, there must be a lock at some point ? To schedule something in the
>> main thread's runloop, you m
On Jul 17, 2010, at 10:38 AM, Rafael Cerioli wrote:
> Just out of curiosity, if there is communication between threads, even with
> runloops, there must be a lock at some point ? To schedule something in the
> main thread's runloop, you must lock the runloop don't you ?
No. There are lockless
Le 17 juil. 2010 à 06:38, Mike Abdullah a écrit :
>
> On 17 Jul 2010, at 07:02, Kyle Sluder wrote:
>
>> On Fri, Jul 16, 2010 at 10:36 PM, Rafael Cerioli
>> wrote:
>>> I guess I had something wrong, NSURLConnection does not do anything in a
>>> background thread. It just operates in the main th
On 17 Jul 2010, at 07:02, Kyle Sluder wrote:
> On Fri, Jul 16, 2010 at 10:36 PM, Rafael Cerioli
> wrote:
>> I guess I had something wrong, NSURLConnection does not do anything in a
>> background thread. It just operates in the main thread but "asynchronously"
>> thanks to the run loop.
>
> Well
On Jul 17, 2010, at 12:36 AM, Rafael Cerioli wrote:
> Le 16 juil. 2010 à 18:56, Kyle Sluder a écrit :
>
>> On Jul 16, 2010, at 3:46 PM, Rafael Cerioli wrote:
>>
>>> - using a NSURLConnection seams nice, but as it calls its delegate
>>> (-connection:didReceiveData:) on the main thread, it has t
On Fri, Jul 16, 2010 at 10:36 PM, Rafael Cerioli
wrote:
> I guess I had something wrong, NSURLConnection does not do anything in a
> background thread. It just operates in the main thread but "asynchronously"
> thanks to the run loop.
Well, sort of. I believe what actually happens is that it uses
Le 16 juil. 2010 à 18:56, Kyle Sluder a écrit :
> On Jul 16, 2010, at 3:46 PM, Rafael Cerioli wrote:
>
>> Hi everybody,
>>
>> What would be the most efficient way to download data without blocking the
>> UI (I'm targeting old iPhone/iPod devices) ?
>>
>> - using a NSURLConnection seams nice,
On Fri, Jul 16, 2010 at 5:13 PM, Markus Spoettl
wrote:
> The synchronous API comes with restrictions sure, but buggy? Searching for
> "NSURLConnection's synchronous API is buggy" doesn't bring up anything
> (useful) - or I'm overlooking it. So what is it? As a user of the synchronous
> API, I'm
On Jul 16, 2010, at 6:56 PM, Kyle Sluder wrote:
> Don't do this. NSURLConnection's synchronous API is buggy, as a web search
> will tell you.
The synchronous API comes with restrictions sure, but buggy? Searching for
"NSURLConnection's synchronous API is buggy" doesn't bring up anything (useful
On Jul 16, 2010, at 3:46 PM, Rafael Cerioli wrote:
> Hi everybody,
>
> What would be the most efficient way to download data without blocking the UI
> (I'm targeting old iPhone/iPod devices) ?
>
> - using a NSURLConnection seams nice, but as it calls its delegate
> (-connection:didReceiveData
15 matches
Mail list logo