You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both LazyDLL and LazyProc contain unsafe double-checked locking.
I have a fix which uses atomics:
https://golang.org/cl/6817086/diff/2001/src/pkg/syscall/dll_windows.go
It's ugly. I can't figure out how to use sync.Once efficiently here. There is no
"constructor" for LazyProc, so I can't even put additional func into it...
The text was updated successfully, but these errors were encountered: