what is the difference between synchronous apis and asynchronous apis?
multithreading, operating-system
Solution
A synchronous API will block the caller until it returns. An asynchronous API will not block the caller and typically will require a callback which will be executed once the work is completed.
Blocking
Callback
Problem
I want to know about the synchronous apis and asynchronous apis in operating system. What is the difference between them ?