| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: CURL_ACKNOWLEDGE_EINTR
From: Yang Tse <yangsita_at_gmail.com>
Date: Thu, 18 Aug 2011 02:56:16 +0200
Bllllllluuuuuuuuuussssssssssssssshhhhhhhhhhhhhhhhhhhh
I'll quote my self to amend my badness...
> When CURL_ACKNOWLEDGE_EINTR is defined, what is left is code that
This first sentence quoted above is wrong and fully misleading. Where
> In the default case, when CURL_ACKNOWLEDGE_EINTR is not defined, What
This second sentence is correct, and additionally the code does what
I'll try to straight things here...
When CURL_ACKNOWLEDGE_EINTR is not defined, default setting, the
| do {
This will loop, while tiemout is not consumed, allways that (select
When CURL_ACKNOWLEDGE_EINTR is defined, opt in setting, the actual loop is...
| do {
This will loop, while tiemout is not consumed, allways that (select
All this works nicely as long as all three of the following points stand true:
1) A failed select() call returns -1.
Which is in conformance with
-- -=[Yang]=- ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-08-18 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info