From f962fc0820f13d6a44b8ef88e0fe20c02123b1b2 Mon Sep 17 00:00:00 2001
From: Russ Cox
Date: Wed, 6 Jan 2016 21:28:06 -0500
Subject: [PATCH] doc: mention that Go no longer calls timeBeginPeriod(1) on
Windows
Fixes #13731.
Change-Id: Iaf70a8b41c947f0d86013808564112ab676136e3
Reviewed-on: https://go-review.googlesource.com/18345
Reviewed-by: Brad Fitzpatrick
Reviewed-by: Alex Brainman
---
doc/go1.6.html | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/doc/go1.6.html b/doc/go1.6.html
index 9192ca0c61..3ae96b82a9 100644
--- a/doc/go1.6.html
+++ b/doc/go1.6.html
@@ -332,6 +332,15 @@ Searching for uses of
signal.Notify
may help identify such code.
+
+On Windows, Go programs in Go 1.5 and earlier forced
+the global Windows timer resolution to 1ms at startup
+by calling timeBeginPeriod(1)
.
+Go no longer needs this for good scheduler performance,
+and changing the global timer resolution caused problems on some systems,
+so the call has been removed.
+
+
Reflect
--
2.50.0