Poll on macOS 10.12 is broken
I can&#x27;t say I&#x27;m surprised. I used to be responsible for the port and upkeep of a relatively low level product to OS X. It was far and away the most troublesome platform. We would frequently run into bugs that had been reported on openradar for years without having been addressed.<p>Off hand I remember spending the better part of two days trying to understand a bug that was traced to a coroutine issue -- OS X was just not saving a required register, known and reported for 5 major versions.<p>I remember discovering that unnamed semaphores don&#x27;t work on OS X. Not that the functions aren&#x27;t implemented, just that they always return an error.<p>So I&#x27;m not surprised that poll() would be broken, nor am I surprised that it&#x27;s broken again.<p>The only thing that surprised me anymore is how many people continue to insist to me that OS X (or macOS now, I guess) is a great UNIX. It may be a great desktop OS.