curl-library
Re: CURL_ACKNOWLEDGE_EINTR in detail
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 18 Aug 2011 22:07:48 +0200 (CEST)
Date: Thu, 18 Aug 2011 22:07:48 +0200 (CEST)
On Thu, 18 Aug 2011, Yang Tse wrote:
> #ifdef CURL_ACKNOWLEDGE_EINTR
> # define error_not_EINTR (1)
> #else
> # define error_not_EINTR (error != EINTR)
> #endif
I blame some of my confusion on the naming of this define. In my head,
"acknowledging EINTR" means that we deal with it, while in fact defining
CURL_ACKNOWLEDGE_EINTR currently means that EINTR will have no effect.
I think I had been less confused If it had been named CURL_IGNORE_EINTR or
something!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-08-18