I want to know about the synchronous apis and asynchronous apis in operating system. What is the difference between them ?
I want to know about the synchronous apis and asynchronous apis in operating system. What is the difference between them ?
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.