commit | 329a35f551c1b73545a7dddb1944792a3621ac4a | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Thu Mar 10 15:36:01 2016 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Thu Mar 10 15:36:01 2016 +0800 |
tree | 20f0414f21780ad22256bf1fd0af89f7c828b68f | |
parent | 3f54de4cf052b7706723a9bb46acf8e0a2cff294 [diff] |
Introduce pollers Handlers may way to poll on multiple file descriptors. This change introduces pollers, which are registered with: console_register_poller(), which provides a function to call when a specified fd has pollable events. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>