Is there two streams with CFReadStreamRead happend in two threads?

2009-05-19 Thread Chris Gardner
Hi, Now I have created two threads and want to download files through the method below in each thread: 1. Create the stream using CFReadStreamCreateWithFTPURL() 2. Set up my callbacks wiht CFReadStreamSetClient() 3. Add it to the run-loop wiht CFReadStreamScheduleWithRunLoop() 4. Open

Re: Is there two streams with CFReadStreamRead happend in two threads?

2009-05-19 Thread Jean-Daniel Dupas
Le 19 mai 09 à 09:27, Chris Gardner a écrit : Hi, Now I have created two threads and want to download files through the method below in each thread: 1. Create the stream using CFReadStreamCreateWithFTPURL() 2. Set up my callbacks wiht CFReadStreamSetClient() 3. Add it to the