Files
go-xmlsec/thread_darwin.go
2015-12-23 12:07:04 -05:00

11 lines
150 B
Go

package xmlsec
import "unsafe"
// #include <pthread.h>
import "C"
func getThreadId() uintptr {
return uintptr(unsafe.Pointer(C.pthread_self()))
}