[concurrency-interest] When do you use wait/notify?

David Holmes dholmes@dltech.com.au
Tue, 27 Jan 2004 09:48:50 +1000


Gregg Wonderly wrote:
> I have many applications that utilize queues and worker threads.
> I will use wait() and notify() to tell the workers that the 
> containers have stuff to do in them.

Will Executors not replace direct use of threads and work queues?

> I do tend to use Vector and Hashtable for my containers 

Will the new concurrent collections not suit your needs?

David Holmes