Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-26 | make gofmt complain slightly less | Luke Shumaker | |
2015-09-18 | dl: Keep track of if a handle has been closed | 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 | Add an inotify watcher utility using channels; use it. | Luke Shumaker | |
The interface of inotify/inutil.Watcher more resembles golang.org/x/exp/inotify; with it using channels instead of repeated calls to Read(). In my use-case, this is useful because it allows implementing a "read" (select, really) that doesn't block Close(); which is required to handle the TERM signal correctly. | |||
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-07 | Pull the mucking with getgrnam into a getgr package. | Luke Shumaker | |
2015-09-07 | Disable the nss ldap module for our process (include bindings for libdl) | 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-09-05 | clean up logging | Luke Shumaker | |
2015-09-03 | remove stray newline | Luke Shumaker | |
2015-09-03 | Fix issues in inotify bindings | Luke Shumaker | |
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 | |
2015-08-26 | stuff | Luke Shumaker | |
2015-08-26 | work | Luke Shumaker | |
2015-08-25 | initial commit | Luke Shumaker | |