aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-08-18 09:47:34 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-08-18 13:34:48 +0200
commit890b42e68fed156e7d5e8b7306e77356ec1dcb2c (patch)
tree7e75a1fd1ded90f5d9293f49bb9944803f1bb95a /README.md
parentgo: remove exit(2) from ctrl+c handler (diff)
downloadwireguard-windows-890b42e68fed156e7d5e8b7306e77356ec1dcb2c.tar.xz
wireguard-windows-890b42e68fed156e7d5e8b7306e77356ec1dcb2c.zip
go: use highres timer on newer Windows 10
WireGuard makes heavy use of timers, and the low precision of Windows timers as currently used in Go isn't very nice, and also seems to result in worse battery life because of the gross winmm.dll timerBeginPeriod trick. John Starks suggested this new parameter to make a high resolution timer on NT, and Alex implemented it, so import Alex's test patch to see how this goes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions