commit | f0aae10f69aa3b6083f0fcfb1b501f79a8b6b15e | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Wed Oct 19 12:11:44 2011 -0700 |
committer | Paul Stewart <pstew@chromium.org> | Thu Oct 20 17:31:10 2011 -0700 |
tree | eeb8740a3039b820af0a8fc8ef3339b2e8623c23 | |
parent | 26b327e559583d5a84b7e1605c29a4dcbc87d2a9 [diff] |
shill: Add "IO Ready" handler For output sockets and for non-traditional "input" events we need to trigger when an fd is ready, but we don't want GLib to be in charge of the IO itself. For this, we create a "ready handler" which triggers a callback which is passed the file descriptor which is ready. BUG=chromium-os:21664 TEST=New unit tests Change-Id: I4960658e6d0940d8db65ae6f77ff09679b3ef96a Reviewed-on: http://gerrit.chromium.org/gerrit/10327 Reviewed-by: Darin Petkov <petkov@chromium.org> Reviewed-by: mukesh agrawal <quiche@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>