mirror of
https://github.com/libp2p/go-openssl.git
synced 2024-12-27 23:40:18 +08:00
053d794fe5
[katamari commit: 66d3bf715795d3696ca37003fba5dba1af7ffacf]
14 lines
369 B
Go
14 lines
369 B
Go
// Copyright (C) 2014 Space Monkey, Inc.
|
|
|
|
// Package utils provides some small things that implementation of the OpenSSL
|
|
// wrapper library needed.
|
|
package utils
|
|
|
|
import (
|
|
"unsafe"
|
|
)
|
|
|
|
// ThreadId returns the current runtime's thread id. Thanks to Gustavo Niemeyer
|
|
// for this. https://github.com/niemeyer/qml/blob/master/tref/tref.go
|
|
func ThreadId() unsafe.Pointer
|