Re: sending msgs to nsoperation threads

2010-11-11 Thread jonat...@mugginsoft.com
On 11 Nov 2010, at 20:06, Andreas Grosam wrote: > > On Nov 11, 2010, at 4:48 PM, jonat...@mugginsoft.com wrote: > >>> In case you would like to do similar things when using NSOperation and >>> NSOperationQueue you might consider to send the message to the run loop >>> instead, e.g.: -perform

Re: sending msgs to nsoperation threads

2010-11-11 Thread Andreas Grosam
On Nov 11, 2010, at 4:48 PM, jonat...@mugginsoft.com wrote: >> In case you would like to do similar things when using NSOperation and >> NSOperationQueue you might consider to send the message to the run loop >> instead, e.g.: -performSelector:target:argument:order:modes: >> >> Of course you w

Re: sending msgs to nsoperation threads

2010-11-11 Thread jonat...@mugginsoft.com
On 11 Nov 2010, at 14:37, Andreas Grosam wrote: > >> You have to do a bit more management but you get the control you need. > IMHO, using NSOperation/NSOperationQueue is exactly what I consider a higher > level API. It has also additional cool features which give you even more > control where N

Re: sending msgs to nsoperation threads

2010-11-11 Thread Andreas Grosam
On Nov 11, 2010, at 10:35 AM, jonat...@mugginsoft.com wrote: > > On 11 Nov 2010, at 07:13, Shane wrote: > >> I've got an NSOperation thread running, but I'd like to be able to >> send a message to it so that the thread can be shut it down, or >> possibly other commands. >> >> What is considere

Re: sending msgs to nsoperation threads

2010-11-11 Thread jonat...@mugginsoft.com
On 11 Nov 2010, at 07:13, Shane wrote: > I've got an NSOperation thread running, but I'd like to be able to > send a message to it so that the thread can be shut it down, or > possibly other commands. > > What is considered a good way to send a message to an NSOperation > thread from the apps ma

Re: sending msgs to nsoperation threads

2010-11-11 Thread Andreas Grosam
On Nov 11, 2010, at 8:13 AM, Shane wrote: > I've got an NSOperation thread running, but I'd like to be able to > send a message to it so that the thread can be shut it down, or > possibly other commands. > > What is considered a good way to send a message to an NSOperation > thread from the apps

sending msgs to nsoperation threads

2010-11-10 Thread Shane
I've got an NSOperation thread running, but I'd like to be able to send a message to it so that the thread can be shut it down, or possibly other commands. What is considered a good way to send a message to an NSOperation thread from the apps main thread? __