SIGN IN SIGN UP

windows: document safe usage of TrusteeValue

Failure to pin the memory pointed to by a TrusteeValue (a uintptr)
can lead to the GC collecting the memory while it is still being
referenced.

Fixes #79923

Change-Id: Ie28884856298cd60693c903843be6aa06a6a6964
Reviewed-on: https://go-review.googlesource.com/c/sys/+/789000
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
D
Damien Neil committed
c507910bb52510a2ae06048a4246ad0fe210a872
Parent: d58dcfa
Committed by Gopher Robot <gobot@golang.org> on 6/11/2026, 7:13:11 PM