Sign in
go
/
gofrontend
/
9d0d5c03a8086f5dd3a23e910abd6e470196973c
/
.
/
libgo
/
go
/
runtime
/
testdata
/
testprogcgo
/
windows
/
win.go
blob: f2eabb95488b72757ed1f01b257b6f277315af12 [
file
] [
log
] [
blame
]
package windows
/*
#cgo CFLAGS: -mnop-fun-dllimport
#include <windows.h>
DWORD agetthread() {
return GetCurrentThreadId();
}
*/
import "C"
func GetThread() uint32 {
return uint32(C.agetthread())
}