From: AntiCat Date: Mon, 8 Oct 2018 05:15:29 +0000 (+0200) Subject: osx: disable app-nap during serial comm (#687) X-Git-Tag: v3.1.0~3 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/2a537311063d3e49479ff4cc8b94287a10c37266?hp=2a537311063d3e49479ff4cc8b94287a10c37266 osx: disable app-nap during serial comm (#687) Apple introduced app-nap with OS X 10.10. This feature saves power by throttling apps running in background. However, it also less accurate timers in systemcalls. In our case a 30ms select timeout would take up to 10s. This patch uses an API also added with 10.10 to disable app-nap as long as the serial port is polled. ---