diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-12 09:14:40 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-09-12 09:14:40 -0600 |
commit | b190157b8c568922f7f9b4039b67a34862fa9f54 (patch) | |
tree | 41890a5470e013c31e89d00fe6a134434f3417d4 /src/nshd/hackers_git/db_config.go | |
parent | a71e76c9ab160f0ab7abbfe6db500b3b178e57de (diff) |
Add an inotify watcher utility using channels; use it.
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.
Diffstat (limited to 'src/nshd/hackers_git/db_config.go')
0 files changed, 0 insertions, 0 deletions