Sign in
go
/
go
/
c4c1993fd2a5b26fe45c09592af6d3388a3b2e08
/
.
/
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())
}