views:

41

answers:

1

I want to know about the synchronous apis and asynchronous apis in operating system. What is the difference between them ?

+2  A: 

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

ChaosPandion