]> granicus.if.org Git - curl/commit
examples: Wait recommended 100ms when no file descriptors are ready
authorJay Satiro <raysatiro@yahoo.com>
Mon, 17 Nov 2014 07:26:03 +0000 (02:26 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 19 Nov 2014 12:34:05 +0000 (13:34 +0100)
commitcb13fad733e38cb8fbc1919e70d11d3c8b88ec52
tree32f84311d803ac97404afb3bb3779abd329f2102
parent9406ab91a2deffc09ad7951c7addc4153eb16df4
examples: Wait recommended 100ms when no file descriptors are ready

Prior to this change when no file descriptors were ready on platforms
other than Windows the multi examples would sleep whatever was in
timeout, which may or may not have been less than the minimum
recommended value [1] of 100ms.

[1]: http://curl.haxx.se/libcurl/c/curl_multi_fdset.html
docs/examples/fopen.c
docs/examples/imap-multi.c
docs/examples/multi-app.c
docs/examples/multi-debugcallback.c
docs/examples/multi-double.c
docs/examples/multi-post.c
docs/examples/multi-single.c
docs/examples/pop3-multi.c
docs/examples/smtp-multi.c