/
Why do we need blocking and non blocking functions?
Why do we need blocking and non blocking functions?
The issue is the mismatch of CPU speed ( think blindingly fast) and typical I/O (input/output) operation which are by comparison very slow. Examples of I/O are:
Reading/Writing files to disk
Waiting for network operations to complete etc.
, multiple selections available,
Related content
Blocking vs. Non Blocking Calls
Blocking vs. Non Blocking Calls
More like this
Blocking calls in an event loop thread
Blocking calls in an event loop thread
More like this
Is it less efficient to program with blocking sockets versus asynchronous ones?
Is it less efficient to program with blocking sockets versus asynchronous ones?
More like this
Coroutines - we can give blocking programming without the overhead of many operating system threads.
Coroutines - we can give blocking programming without the overhead of many operating system threads.
More like this
What problems are there with asynchronous programming?
What problems are there with asynchronous programming?
More like this
Blocking versus Non blocking calls using a call centre example
Blocking versus Non blocking calls using a call centre example
More like this