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

pipe[0] event unix.EPOLLHUP loops forever #395

Closed
xvnuna opened this issue Sep 2, 2021 · 1 comment
Closed

pipe[0] event unix.EPOLLHUP loops forever #395

xvnuna opened this issue Sep 2, 2021 · 1 comment
Labels

Comments

@xvnuna
Copy link

xvnuna commented Sep 2, 2021

pipe[0] already read about event unix.EPOLLHUP,but stuck in an infinite loop here, why this occur and how should I handle this?
if event.Events&unix.EPOLLHUP != 0 {
// Write pipe descriptor was closed, by us. This means we're closing down the
// watcher, and we should wake up.
}

fsnotify version:1.4.9
Go version:Go 1.14
arm64 linux

@arp242
Copy link
Member

arp242 commented Jul 24, 2022

Since #434 we no longer use epoll, so this is no longer relevant (and the problem should be fixed with that).

@arp242 arp242 closed this as completed Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants