Re: Multi-threaded help
Re: Multi-threaded help
- Subject: Re: Multi-threaded help
- From: "stephen joseph butler" <email@hidden>
- Date: Wed, 7 Mar 2007 09:49:40 -0600
On 3/7/07, Steve Walter <email@hidden> wrote:
-(void)runLoop:(id) sender{
NSAutoreleasePool * myPool;
myPool = [[NSAutoreleasePool alloc] init];
[[NSRunLoop currentRunLoop] addTimer:eventTimer
forMode:NSDefaultRunLoopMode];
[myPool release];
}
You aren't running the run loop.
<http://developer.apple.com/documentation/Cocoa/Conceptual/InputControl/Tasks/runningloops.html#//apple_ref/doc/uid/20000823>
<http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/articles/CocoaDetaching.html#//apple_ref/doc/uid/20000738-97249>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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