Skip to content

Replace contexts with cgo.Handle implementation #53

Description

@l2dy

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("").

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions