diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-22 10:10:55 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-22 10:10:55 -0600 |
commit | 4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5 (patch) | |
tree | 03190de76962bf6166752f086c1abd83bb965ec3 /bolt_windows.go | |
parent | Merge pull request #209 from benbjohnson/next-seq-uint64 (diff) | |
parent | Add Open() options, flock timeout. (diff) | |
download | dedo-4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5.tar.gz dedo-4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5.tar.xz |
Merge pull request #208 from benbjohnson/open-timeout
Add Open() options, flock timeout.
Diffstat (limited to 'bolt_windows.go')
-rw-r--r-- | bolt_windows.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bolt_windows.go b/bolt_windows.go index 8300d40..fc77968 100644 --- a/bolt_windows.go +++ b/bolt_windows.go @@ -4,6 +4,7 @@ import ( "fmt" "os" "syscall" + "time" "unsafe" ) @@ -15,7 +16,7 @@ func fdatasync(f *os.File) error { } // flock acquires an advisory lock on a file descriptor. -func flock(f *os.File) error { +func flock(f *os.File, _ time.Duration) error { return nil } |