Synchronous, blocking functions code example
Example: Blocking calls are synchronous
Blocking and Non Blocking Function Calls: Blocking and synchronous mean the same thing: you call the API, it hangs up the thread until it has some kind of answer and returns it to you. Non-blocking means that if an answer can't be returned rapidly, the API returns immediately with an error and does nothing else.