In this article we will learn how to implement inter thread communication i.e how can we coordinate the communication between two or more threads. Although we can restrict the access of data or code to a single thread at a time by using synchronization, it can’t guarantee the consistent execution of our logic. […]