fluent-bit-go
fluent-bit-go copied to clipboard
Replace contexts with cgo.Handle implementation
cgo.Handle
was added to Go in 1.17. It is equivalent to our implementation, but uses atomic.AddUintptr
which is more efficient than C.CString("")
.