Threads in Java. Java multithreading examples.
Following methods are used to perform communication between threads. Wait() Notify() notifyAll() In the following code, count is a shared variable between different threads. Its a consumer producer process in which consumer waits in consume() method and waits for producer to perform its action. Thread communication
thanks...
sorry for all the questions
thanks...
06-14-2013, 02:22 PM in gbonecapone