package xmlsec import "unsafe" // #include import "C" func getThreadID() uintptr { return uintptr(unsafe.Pointer(C.pthread_self())) }