Re: Simple message passing between threads
Re: Simple message passing between threads
- Subject: Re: Simple message passing between threads
- From: Clyde McQueen <email@hidden>
- Date: Thu, 21 Jun 2001 17:04:29 -0700
On Tuesday, June 12, 2001, at 06:43 PM, Richard Schreyer wrote:
I have a secondary thread I use to do calculations, and I need to send
a message to the main thread when the second thread completes it's job,
and terminates.
Distributed Objects seems like a little much for this single use.
There have been several times has come up previously on the list, but
looking over those has still left me clueless how to do this.
I guess I'll second the question - everything I've read has suggested
that a single NSConditionLock is the easiest way to communicate between
threads. No DO, no events, etc. I'm going to give it a crack. Am I
barking up the wrong tree?
/Clyde