(__emulate_poll): Mark as internal function.