summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/db_pam.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-12 09:14:40 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-12 09:14:40 -0600
commitb190157b8c568922f7f9b4039b67a34862fa9f54 (patch)
tree41890a5470e013c31e89d00fe6a134434f3417d4 /src/nshd/hackers_git/db_pam.go
parenta71e76c9ab160f0ab7abbfe6db500b3b178e57de (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_pam.go')
0 files changed, 0 insertions, 0 deletions