bug-ncurses
[Top][All Lists]
Advanced

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

Re: [bug-ncurses] Return value of write() is not properly evaluated


From: Egmont Koblinger
Subject: Re: [bug-ncurses] Return value of write() is not properly evaluated
Date: Wed, 7 Jan 2015 15:40:37 +0100

On Wed, Jan 7, 2015 at 3:35 PM, Dr. Werner Fink <address@hidden> wrote:

>  -- Macro: TEMP_FAILURE_RETRY (EXPRESSION)
> [...]
>
> Sidemark[1]: repeating without a usleep() on EAGAIN can cause a high load.
> Sidemark[2]: using `_BSD_SOURCE' or `_GNU_SOURCE' or with latest glibc
>              simply using SA_RESTART the problem should not occur

Cool, thanks a lot, I didn't know about it.

Sidemark[3]: It doesn't seem to handle short reads/writes.


e.



reply via email to

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