Re: passing data to threads
Re: passing data to threads
- Subject: Re: passing data to threads
- From: Dustin Voss <email@hidden>
- Date: Wed, 20 Dec 2006 13:37:14 -0800
On 19 Dec 2006, at 8:39 PM, William Irving Zumwalt wrote:
I'm trying to implement threads and not sure how to pass the
*config object
into a newly created thread. I'm using an example from the book Cocoa
Programming.
Anyone have ideas?
The InterThreadMessaging library is a good way to pass information to
and from threads. Otherwise, people usually use Distributed Objects,
producer/consumer queues, or some system involving globals and locks.
Here are some links with more info:
http://cocoadev.com/index.pl?InterThreadMessaging
http://cocoadev.com/index.pl?
DistributedObjectsForInterThreadCommunication
http://cocoadev.com/index.pl?DistributedObjectsSampleCode
http://cocoadev.com/index.pl?ProducersAndConsumerModel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden