Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TryLock in stdlib #3

Open
AlekSi opened this issue Oct 30, 2021 · 0 comments
Open

TryLock in stdlib #3

AlekSi opened this issue Oct 30, 2021 · 0 comments

Comments

@AlekSi
Copy link

AlekSi commented Oct 30, 2021

TryLock was added in stdlib: golang/go@645d078

I think this library should use a type alias for sync.Mutex in Go 1.18:

//go:build go1.18
// +build go1.18

type Mutex = sync.Mutex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant