Files
notify/sync_unix_test.go
T
Harshavardhana e80522e761 epoll_wait syscall doesn't exist on arm64.
Implement it with by calling epoll_pwait().
According to man epoll_pwait, calling
epoll_pwait with sigmask of NULL is identical
to epoll_wait.

Bring the fixes from golang.org/x/sys/unix to support these
transparently on arm64.

This is needed to fix https://github.com/minio/mc/issues/2047
2017-03-01 11:29:13 -08:00

19 lines
401 B
Go

// Copyright (c) 2014-2015 The Notify Authors. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
// +build !windows
package notify
import "golang.org/x/sys/unix"
func Sync() {
unix.Sync()
}
// UpdateWait is required only by windows watcher implementation. On other
// platforms this function is no-op.
func UpdateWait() {
}