2 ms·
> Since you didn't bother reading the link I posted here is the basic matrix of IO operations. Actually I did. You are misinterpreting what it is saying. The
by haberman 16y ago
> Since you didn't bother reading the link I posted here is the basic matrix of IO operations.
Actually I did. You are misinterpreting what it is saying. The reason it is calling the select() model "blocking" is because you block during the select(), not because the read() itself is blocking.
This is also non-standard usage: most people wouldn't refer to a select()-based loop as blocking I/O, because a program generally only calls select() when it has nothing else to do but service I/O, so the select() does not "block" the application.