poll on mac 10.12 is broken | daniel.haxx.se

<![endif] daniel.haxx.se Search Primary Menu Skip to content About Contact Search for: #masthead cURL and libcurl , Network October 11, 2016 Daniel Stenberg Leave a comment .entry-meta .entry-header When Mac OS X first launched they did so without an existing poll function. They later added poll() in Mac OS X 10.3, but we quickly discovered that it was broken (it returned a non-zero value when asked to wait for nothing) so in the curl project we added a check in configure for that and subsequently avoided using poll() in all OS X versions to and including Mac OS 10.8 (Darwin 12). The code would instead switch to the alternative solution based on select() for these platforms. With the release of Mac OS X 10.9 “Mavericks” in October 2013, Apple had fixed their poll() implementation and we’ve built libcurl to use it since with no issues at...

Linked on 2016-10-11 17:20:15 | Similar Links