• 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: Thread usage : Main thread interrupting secondary thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread usage : Main thread interrupting secondary thread


  • Subject: Re: Thread usage : Main thread interrupting secondary thread
  • From: Miles <email@hidden>
  • Date: Thu, 5 Mar 2009 23:10:04 -0800

Thanks for the response, Kyle-

I'm trying to wrap my head around threading and this is my first experiment
with it. I've been doing lots of reading on it but it'll take awhile to sink
in.

I'm trying to use threads because I sometimes animate lots of objects every
0.02 seconds and it bogs things down.

-M




On Thu, Mar 5, 2009 at 11:00 PM, Kyle Sluder <email@hidden> wrote:

> You bumped a 10-hour old message.  You might want to have a bit of
> patience.
>
> Have you considered that the threads are vying for a lock?  Why are
> you using threads anyway?  Core Animation runs its own threads for
> you, and you're working with the runloop, which provides some measure
> of asynchronicity without resorting to multithreading.
>
> Perhaps you might consider learning more about threading before
> attempting to use it.  It is a very, *very* difficult concurrency
> technique.
>
> --Kyle Sluder
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >Thread usage : Main thread interrupting secondary thread (From: Miles <email@hidden>)
 >Re: Thread usage : Main thread interrupting secondary thread (From: Miles <email@hidden>)
 >Re: Thread usage : Main thread interrupting secondary thread (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: [Q] NSObject's poseAsClass - Replacement?
  • Next by Date: Re: CoreData, SyncServices & NSURL ...
  • Previous by thread: Re: Thread usage : Main thread interrupting secondary thread
  • Next by thread: NSPopUPButton and selectedTag binding seems to give me index instead
  • Index(es):
    • Date
    • Thread