Search code examples
asynchronousioblockingsynchronousnonblocking

What is difference between synchronous vs asynchronous and blocking vs non-blocking IO. Does they both speak about same concept?


I am reading about multithreaded servers in Java and communication in it. I have the above query as "What is difference between synchronous vs asynchronous and blocking vs non-blocking IO. Does they both speak about same concept?"


Solution

  • Synchronous I/O = blocking I/O

    Asynchronous I/O = non-blocking I/O