NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Non-blocking I/O
On Jan 5, 2010, at 6:09 AM, Sad Clouds wrote:
> If I set a file descriptor non-blocking and issue I/O operation on a slow, or
> heavy loaded disk, how will this affect the process and threads while kernel
> loads data from disk into core?
Disk I/O is never non-blocking.
> Will it block the thread doing I/O or the entire process?
Just the thread.
> Or will it return with EAGAIN immediately without blocking?
Won't ever do that.
Home |
Main Index |
Thread Index |
Old Index