1

what is the difference between Mutex,Semaphore and synchronization.

Is synchronization is way to achieve mutex in java.

Sunil Kumar
  • 1,349
  • 3
  • 14
  • 25
  • i know that mutex is a binary semaphore also semaphore can be achieved in java.I am confused with synchronized block or method.Is synchronized is way to achieve mutex in java? – Sunil Kumar Mar 26 '19 at 07:18
  • Voted to re-open because the question asks about Java's `synchronized` keyword, and the "duplicate" says nothing about that. On the other hand, the OP has shown little effort to find his own answer, so maybe the question should remain closed for that reason. – Solomon Slow Mar 26 '19 at 12:02

0 Answers0