clean up, add documentation, fix lint errors
This commit is contained in:
@@ -5,6 +5,6 @@ import "unsafe"
|
||||
// #include <pthread.h>
|
||||
import "C"
|
||||
|
||||
func getThreadId() uintptr {
|
||||
func getThreadID() uintptr {
|
||||
return uintptr(unsafe.Pointer(C.pthread_self()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user