Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-18 | Godoc comments. | Luke Shumaker | |
2015-11-08 | fix typo | Luke Shumaker | |
2015-09-18 | Massive documentation and copyright clean-up. | Luke Shumaker | |
2015-09-12 | gofmt, use make(chan) without a number argument where possible | Luke Shumaker | |
2015-09-12 | inotify: fix the type of the Init1 flags | Luke Shumaker | |
2015-09-12 | woops, remove cruft from inotify change | Luke Shumaker | |
2015-09-08 | I am dumb, fix inotify bindings | Luke Shumaker | |
2015-09-05 | inotify: Avoid most of the race conditions, get rid of Cint | Luke Shumaker | |
There's still a condition that could be a race with fd-reuse, if one goroutine is calling inotify.{AddWatch,RmWatch,Read}(); another goroutine is calling inotify.Close(), and several things happen between loadFd() running and the add_watch/rm_watch/read syscall launching: - syscall.Close() returns - syscall.Open() reuses the filedescriptor A B syscall(loadFd()) inotify.Close(); syscall.Open() ---------------------------------------------------------- loadFd() syscall.Close() syscall.Open() syscall() Given that Read() can't be allowed to block Close() from running, I'm not sure there's a way to fix this. | |||
2015-08-28 | Clean up, based on making godoc slightly more readable | Luke Shumaker | |
2015-08-28 | switch to my own inotify bindings, the golang.org/x/exp bindings are crap | Luke Shumaker | |