Friday, 8 April 2016

What are different Synchronizers in Java multithreading ?


Any object that coordinates the control flow of threads based on its state.

Examples

  • Latches
  • Barriers 
  • Semaphores
  • Blocking queue can also act as a Synchronizer.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.