Skip to content

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 tklauser force-pushed the lock-unlock-x-sys-windows branch from 5257b02 to 805eb40 Compare June 25, 2021 12:58
@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.

3 participants