[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Asynchronous I/O Egg Release

From: Matt Welland
Subject: Re: [Chicken-users] Asynchronous I/O Egg Release
Date: Fri, 1 Jul 2016 09:53:00 -0700

On Fri, Jul 1, 2016 at 3:11 AM, Andy Bennett <address@hidden> wrote:

> And of course, reads of files on the file
> system never block at all

A read from a file can block when the operating system needs to go to
disk for the data. This happens when the buffer empties and it cannot be
refilled before the next read call.

I don't know if it applies to this discussion but read blocking can be quite a pain when a network fileserver such as NFS goes offline. It would be nice if other threads would continue so that the program could detect the issue and potentially take appropriate action such as let the user know *why* the program is hung.


0290 DA75 E982 7D99 A51F  E46A 387A 7695 7EBA 75FF

Chicken-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]