• 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
Invoking methods from different threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Invoking methods from different threads


  • Subject: Invoking methods from different threads
  • From: Brendan Younger <email@hidden>
  • Date: Wed, 1 Dec 2004 11:27:07 -0600

After quite a bit of tinkering, I've discovered that -[NSRunLoop performSelector:target:argument:order:modes:] isn't thread safe. However, I need to be able to perform a selector on a specific run loop (NOT just the main thread, so I can't user -performSelectorOnMainThread:etc.) and be able to trigger the performSelector from a different thread. Does anyone know of a good way to do this?

Brendan Younger

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Invoking methods from different threads
      • From: Dustin Voss <email@hidden>
    • Re: Invoking methods from different threads
      • From: Evan Schoenberg <email@hidden>
  • Prev by Date: Spell Checking Contextual Menu
  • Next by Date: Re: Resize NSTableView controle at Runtime.
  • Previous by thread: Spell Checking Contextual Menu
  • Next by thread: Re: Invoking methods from different threads
  • Index(es):
    • Date
    • Thread