FAQ
https://codereview.appspot.com/6553059/diff/5001/src/pkg/exp/inotify/inotify_linux.go
File src/pkg/exp/inotify/inotify_linux.go (right):

https://codereview.appspot.com/6553059/diff/5001/src/pkg/exp/inotify/inotify_linux.go#newcode156
src/pkg/exp/inotify/inotify_linux.go:156: n, err := syscall.Read(w.fd,
buf[0:])
If this only happens when closing the watcher, I would solve this by
doing an InotifyAddWatch to unblock the read. :-)

https://codereview.appspot.com/6553059/

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 4 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedNov 1, '12 at 6:46p
activeNov 1, '12 at 9:21p
posts4
users2
websitegolang.org

2 users in discussion

Mbnull Org: 2 posts Rsc: 2 posts

People

Translate

site design / logo © 2022 Grokbase