• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multi-threaded help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Multi-threaded help (From: Steve Walter <email@hidden>)

  • Prev by Date: Re: call scrollRangeToVisible in multi-threads cause application dead lock
  • Next by Date: Re: Multi-threaded help
  • Previous by thread: Multi-threaded help
  • Next by thread: Re: Multi-threaded help
  • Index(es):
    • Date
    • Thread