Remove needs_polling from universal_notifier_t. Add some expository

comments.
This commit is contained in:
ridiculousfish
2014-05-07 14:22:05 -07:00
parent 7763718b60
commit e97bec10ea
3 changed files with 82 additions and 12 deletions

View File

@@ -2248,7 +2248,7 @@ static void test_universal()
bool poll_notifier(universal_notifier_t *note)
{
bool result = false;
if (note->needs_polling())
if (note->usec_delay_between_polls() > 0)
{
result = note->poll();
}