gofrs / flock

Thread-safe file locking library in Go
https://pkg.go.dev/github.com/gofrs/flock
BSD 3-Clause "New" or "Revised" License
578 stars 66 forks source link

windows support #10

Closed fatcat386 closed 7 years ago

fatcat386 commented 7 years ago

This version can work under windows. Created platform-dependent files. WinAPI functions LockFileEx and UnlockFileEx are called dynamically.

theckman commented 7 years ago

@fatcat386 thank you for doing the work to get this support in here. I really really appreciate it. :+1: