☰
Debian Codegraph
@
1.25.14-1
/
/
src
/
runtime
/
testdata
/
testprogcgo
/
windows
/
win.go
☽
☼
src/runtime/testdata/testprogcgo/windows/win.go
code
plain
raw
Go
© 2009, 2010, The Go Authors. All rights reserved.
debian/copyright
1
package windows
2
3
/*
4
#include <windows.h>
5
6
DWORD agetthread() {
7
return GetCurrentThreadId();
8
}
9
*/
10
import "C"
11
12
func GetThread() uint32 {
13
return uint32(C.agetthread())
14
}