• 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
Threads, RunLoops and performSelector:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Threads, RunLoops and performSelector:


  • Subject: Threads, RunLoops and performSelector:
  • From: Raphael Sebbe <email@hidden>
  • Date: Thu, 10 Apr 2003 16:10:07 +0200

Hi all,

I am trying to make secondary threads perform selector through their
running runloop. With no success.

Trying to use NSRunLoop's

performSelector:(SEL)aSelector target:(id)target argument:(id)arg
order:(unsigned)order modes:(NSArray *)modes;

from another thread. modes is an array containing NSDefaultRunLoopMode,
which is mode of the running runloop. I did put logs into the method
passed as aSelector, but nothing gets out. I tried to add
configureAsServer on the runloop, with no success. Is something missing
in my setup ? Do I have to add ports or something.

Note that my secondary thread runloop has a timer running too.

Many thanks,

Raphael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Threads, RunLoops and performSelector:
      • From: Nathan Day <email@hidden>
  • Prev by Date: Re: Open URL when click Button
  • Next by Date: NSMutableDictionary not sending release message to contained objects at dealloc time
  • Previous by thread: Displaying multiple images in ANY control - Newbie
  • Next by thread: Re: Threads, RunLoops and performSelector:
  • Index(es):
    • Date
    • Thread