Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Windows: update loop time lazily #1526

Open
wants to merge 1 commit into
base: v1.x
Choose a base branch
from
Open

Windows: update loop time lazily #1526

wants to merge 1 commit into from

Commits on Oct 17, 2014

  1. Windows: update loop time lazily

    We call uv_update_time() whenever we think the loop time should be updated.
    But we might not need to read the time after every update, and the update
    operation has non-negligible cost.
    So I am making uv_update_time() invalidate the loop time. The time will be
    actually updated only on the first call to uv__time() after it's been
    invalidated.
    orangemocha committed Oct 17, 2014
    Configuration menu
    Copy the full SHA
    ecbdc15 View commit details
    Browse the repository at this point in the history