3 ms·
OS threads can be put to sleep for many reasons, or they can be preempted for no explicit reason at all. On such reason could be accessing memory that is curre
by leni536 2y ago
OS threads can be put to sleep for many reasons, or they can be preempted for no explicit reason at all.
On such reason could be accessing memory that is currently not paged in. This could be memory in the rext section, memory mapped from the executable you are running.
I doubt that you would want to include such context switches in your "blocking" definition, as it makes every function blocking, rendering the taxonomy useless.