Sign in
go
/
go
/
67d6be139c77b63395d8c1fa29cdae8d34635f3e
/
.
/
src
/
runtime
/
testdata
/
testprogcgo
/
windows
/
win.go
blob: 9d9f86c9beacb5e6ca73bd58510708db90326af0 [
file
]
package windows
/*
#include <windows.h>
DWORD agetthread() {
return GetCurrentThreadId();
}
*/
import "C"
func GetThread() uint32 {
return uint32(C.agetthread())
}