fix getting the current thread on linux & mac
This commit is contained in:
7
thread_linux.go
Normal file
7
thread_linux.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package xmlsec
|
||||
|
||||
import "syscall"
|
||||
|
||||
func getThreadId() uintptr {
|
||||
return uintptr(syscall.Gettid())
|
||||
}
|
||||
Reference in New Issue
Block a user