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

Use golang.org/x/sys/windows for FileLockEx/UnlockFileEx #283

Merged
merged 1 commit into from
Jul 2, 2021

Conversation

tklauser
Copy link
Contributor

Use the FileLockEx and UnlockFileEx wrappers and the corresponding
LOCKFILE_* and the ERROR_LOCK_VIOLATION error constant from the
golang.org/x/sys/windows package rather than implementing these in the
package.

Use the FileLockEx and UnlockFileEx wrappers and the corresponding
LOCKFILE_* and the ERROR_LOCK_VIOLATION error constants from the
golang.org/x/sys/windows package rather than implementing these in the
package.
@tklauser
Copy link
Contributor Author

tklauser commented Jul 2, 2021

@ptabor care to take a look at this? This is doing the same that etcd-io/etcd#13146 did for etcd. Thank you!

@ptabor ptabor merged commit b18879e into etcd-io:master Jul 2, 2021
@tklauser tklauser deleted the lock-unlock-x-sys-windows branch July 2, 2021 08:04
@ahrtr ahrtr added this to the 1.3.7 milestone Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants