RE: Is there only one CFRunLoopRun which can implement in one process

2009-05-17 Thread Chris Gardner
vers.com > To: chrisgard...@live.com > Date: Sun, 17 May 2009 06:53:44 -0500 > CC: cocoa-dev@lists.apple.com > Subject: Re: Is there only one CFRunLoopRun which can implement in one process > > On May 17, 2009, at 12:04 AM, Chris Gardner wrote: > > > I have created tw

RE: Is there only one CFRunLoopRun which can implement in one process

2009-05-17 Thread Chris Gardner
.@live.com > Date: Sun, 17 May 2009 06:53:44 -0500 > CC: cocoa-dev@lists.apple.com > Subject: Re: Is there only one CFRunLoopRun which can implement in one process > > On May 17, 2009, at 12:04 AM, Chris Gardner wrote: > > > I have created two thread, and in each thread I

Re: Is there only one CFRunLoopRun which can implement in one process

2009-05-17 Thread Ken Thomases
On May 17, 2009, at 12:04 AM, Chris Gardner wrote: I have created two thread, and in each thread I call CFRunLoopRun function to download file from FTP server. It should not be necessary to create two threads. The whole point of run loops is that they manage multiple asynchronous input sou

Is there only one CFRunLoopRun which can implement in one process

2009-05-16 Thread Chris Gardner
Hi everyone, Now I have a problem about CFRunLoopRun function which is located in http://developer.apple.com/DOCUMENTATION/CoreFoundation/Reference/CFRunLoopRef/Reference/reference.html I have created two thread, and in each thread I call CFRunLoopRun function to download file from