diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2014-11-14 03:59:46 -0500 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-11-15 21:27:20 +0100 |
commit | a607f8a20c6c5ac869598753097e3da06165cbd9 (patch) | |
tree | 69622fb06a0fc0774a01bed41c3353bed01d2a13 /docs/examples/Makefile.m32 | |
parent | ed77fdf389cb5a45bc7465a6d08955c7edd3a6cd (diff) |
examples: Don't call select() to sleep on windows
Windows does not support using select() for sleeping without a dummy
socket. Instead use Windows' Sleep() and sleep for 100ms which is the
minimum suggested value in the curl_multi_fdset() doc.
Prior to this change the multi examples would exit prematurely since
select() would error instead of sleeping when called without an fd.
Reported-by: Johan Lantz
Bug: http://curl.haxx.se/mail/lib-2014-11/0221.html
Diffstat (limited to 'docs/examples/Makefile.m32')
0 files changed, 0 insertions, 0 deletions