• 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
How do I use the runInNewThread method ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I use the runInNewThread method ?


  • Subject: How do I use the runInNewThread method ?
  • From: Goran Granstrom <email@hidden>
  • Date: Fri, 12 Oct 2001 11:18:14 +0300

I asked before how to run NSCOnnection in its own thread, I got the answer to use [myConnection runInNewThread] but I don't know where I should add that code. Should I add it when I init the NSConnection or when I receive connections from the init-notification method. A nice little code example would be great =)...please help, because NSConnection freezes my app when it receive and send data so I really need to get it to workin multithreaded mode.


/Gore


  • Follow-Ups:
    • Re: How do I use the runInNewThread method ?
      • From: kubernan <email@hidden>
  • Prev by Date: Re: Aliases & fileAttributesAtPath:
  • Next by Date: Re: Aliases & fileAttributesAtPath:
  • Previous by thread: Re: Quit menu when Modal Sheet is showing?
  • Next by thread: Re: How do I use the runInNewThread method ?
  • Index(es):
    • Date
    • Thread