Overview In this article, we will understand what is AtomicInteger in java, its use, creation, working, commonly…

Java ConcurrencyA collection of 14 posts
What is a semaphore Semaphore is used to limit access to a resource to a fixed number…
Suppose you have 5 threads out of which 1 is a main thread and other 4 are…
Imagine a seminar which will start only when a certain number of attendees(say, 5) have arrived.If asked,…
Suppose we want to do a task after fixed time interval such as creating a beep sound…