summaryrefslogtreecommitdiff
path: root/link_windows_amd64.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2018-08-11 16:10:47 -0400
committerPietro Gagliardi <[email protected]>2018-08-11 16:10:47 -0400
commitdc108a5d4dc79fa680fdad596e0b96dab3257895 (patch)
tree0743f6c2d9b7fb1097ccfd6efb000abaddbf5072 /link_windows_amd64.go
parent6c3bda44d3039e3721c06516be3ab9ce9cbd48cc (diff)
Removed ensureMainThread() now that the latest Go has a guarantee (which was always true) about the main thread given runtime.LockOSThread() in init().
Diffstat (limited to 'link_windows_amd64.go')
-rw-r--r--link_windows_amd64.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/link_windows_amd64.go b/link_windows_amd64.go
index 515bbd1..ad2d1a2 100644
--- a/link_windows_amd64.go
+++ b/link_windows_amd64.go
@@ -6,7 +6,3 @@ package ui
// /* note the order; also note the lack of uuid */
// #cgo LDFLAGS: -luser32 -lkernel32 -lusp10 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -ld2d1 -ldwrite -lole32 -loleaut32 -loleacc -static -static-libgcc -static-libstdc++
import "C"
-
-func ensureMainThread() {
- // do nothing; Windows doesn't care which thread we're on so long as we don't change it after starting
-}