Re: Questions about multithreading
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.