Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-14 | On go 1.8, return os.ErrClosed on double-close.HEADmaster | Luke Shumaker | |
2017-01-14 | Fix a typo in a comment. | Luke Shumaker | |
2016-12-19 | Use x/sys/unix instead of the deprecated syscall. | Luke Shumaker | |
2016-12-18 | add inotify.NewInotify | Luke Shumaker | |
2016-12-18 | Make inotify.Inotify more robust; remove inotify.Watcher. BREAKING CHANGE. | Luke Shumaker | |
2016-12-18 | Godoc comments. | Luke Shumaker | |
2016-06-17 | Add some _XOPEN_CRYPT stuff. | Luke Shumaker | |
2015-11-08 | add readme.go | Luke Shumaker | |
2015-11-08 | fix typo | Luke Shumaker | |
2015-11-03 | fold inotify/inutil into inotify | Luke Shumaker | |
2015-10-26 | dlfcn: dlerror requires a global lock anyway | Luke Shumaker | |
2015-10-26 | dlfcn: return raw unsafe.Pointer | Luke Shumaker | |
2015-10-26 | oops | Luke Shumaker | |
2015-10-26 | dl: fix a pointer/value issue found by go vet | Luke Shumaker | |
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 | |