]> Cypherpunks repositories - gostls13.git/commitdiff
misc/cgo/errors: update ptr.go comment
authorIan Lance Taylor <iant@golang.org>
Sat, 5 Aug 2017 18:07:06 +0000 (11:07 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 8 Aug 2017 04:31:40 +0000 (04:31 +0000)
Accidentally omitted from submit of CL 53352.

Updates #21306

Change-Id: I022d89c6417fe9371856d49b646eb6294b91657c
Reviewed-on: https://go-review.googlesource.com/53415
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Avelino <t@avelino.xxx>
misc/cgo/errors/ptr.go

index 3e117666bffb5ba35d833325401b1e8e81a6ade5..e5f62f8b562fd49093af21d1a1adb3b06ec4b929 100644 (file)
@@ -344,7 +344,7 @@ var ptrTests = []ptrTest{
                fail:    false,
        },
        {
-               // Issue #21306.
+               // Test preemption while entering a cgo call. Issue #21306.
                name:    "preempt-during-call",
                c:       `void f() {}`,
                imports: []string{"runtime", "sync"},