• 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: Questions about multithreading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about multithreading


  • Subject: Re: Questions about multithreading
  • From: Goran Granstrom <email@hidden>
  • Date: Thu, 11 Oct 2001 17:15:48 +0300

hmm...but where should I use runInNewThread, should I send it to my connection when I init it, when I create a connection or when I receive a connection from the NSConnection init-notification method ?, I have been playing around with it and I am not sure, so I think I ask the expert first =), before distributing anything. A little small code example would be nice =...) thx !

/Gore

On Thursday, October 11, 2001, at 02:38 PM, cocoa-dev-
email@hidden wrote:

Just use [myConnection runInNewThread]. It will break the connection's
work off in its own thread. Make sure and use autoreleasepools.


  • Prev by Date: Re: NSException and Java Exception
  • Next by Date: Re: Converting a PICT file to PDF
  • Previous by thread: Re: Questions about multithreading
  • Next by thread: more 'new to cocoa' problems...
  • Index(es):
    • Date
    • Thread