bug-gnulib
[Top][All Lists]
Advanced

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

Re: tempfailure: adding TEMP_FAILURE_RETRY


From: Paul Eggert
Subject: Re: tempfailure: adding TEMP_FAILURE_RETRY
Date: Mon, 25 Jul 2005 16:46:37 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"Oskar Liljeblad" <address@hidden> writes:

> It "backports" the TEMP_FAILURE_RETRY macro from
> GNU Libc to Gnulib.

The proposed implementation isn't portable; it assumes GCC syntax.
And it should probably defer to the unistd.h implementation if available.

My kneejerk reaction is that it's a bit small to be a module.

In my own code, I typically write EINTR-checking code inline; it's
about as readable as using TEMP_FAILURE_RETRY, and it's one less thing
to explain to the reader.




reply via email to

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