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