Sunday 2 March 2014

Inter Thread Communication

Inter thread provides a way that multiple threads communicate each other in consistent way.

Java provides 4 methods that makes the inter thread communication possible.

Those are:
   join()
   wait()
   notify()
   notifyAll()



static synchronized blocks                                                 Thread Join                                                 Home

No comments:

Post a Comment