replace the scheduler's poller, throwing away any pre-existing state

    this is only really a good idea in the new child process after a fork(2).

def reset_poller(poll=None):
    """replace the scheduler's poller, throwing away any pre-existing state

    this is only really a good idea in the new child process after a fork(2).
    """
    state.poller = poll or poller.best()
    log.info("resetting fd poller, using %s" % type(state.poller).__name__)