inotify: add Inotify#each method for yielding each event
commit5905791c3373cf9cd1fce4da28acf9b16f721c3a
authorEric Wong <normalperson@yhbt.net>
Thu, 10 Mar 2011 03:28:48 +0000 (10 03:28 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 10 Mar 2011 03:29:28 +0000 (10 03:29 +0000)
tree9fa45c9c6d4055305e5f0f36d582defabf9c82fe
parent7142fa6bd85fd5a256049f158b6c29399eee7c7c
inotify: add Inotify#each method for yielding each event

This is useful for processing events in a synchronous fashion,
we think...
ext/sleepy_penguin/inotify.c
test/test_inotify.rb