Re: about NSThread crash

2009-06-23 Thread Chris
On Jun 24, 2009, at 2:28 AM, Ken Thomases wrote: You probably don't need to use a background thread to do FTP. You can do it using asynchronous methods on the main thread. Since you can, you probably should. It's almost always less error prone and even more efficient. Considering t

about NSThread crash

2009-06-23 Thread Chris
Hi, I have some problems when to using thread. As we all know, there is a method to create a thread, + (void)detachNewThreadSelector:(SEL)aSelector toTarget:(id)aTarget withObject:(id)anArgument. - (void)aSelector:(id)anArgument { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];