Open pcwalton opened 9 years ago
To scale up to many simultaneous videos, we want to use async I/O. So we need to set the sockets to nonblocking and propagate up EWOULDBLOCK so that the codec will be able to resume when there's not enough data read.
EWOULDBLOCK
To scale up to many simultaneous videos, we want to use async I/O. So we need to set the sockets to nonblocking and propagate up
EWOULDBLOCK
so that the codec will be able to resume when there's not enough data read.