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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: joyent/libuv
base: c39648674c40
Choose a base ref
...
head repository: joyent/libuv
compare: b5cd78ea05ff
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on May 29, 2013

  1. windows: call idle handles on every loop iteration

    This mimicks what the unix implementation does: call idle handles on
    every loop iteration. The guarantee that it runs on every loop iteration
    makes it easier to predict and opens up more use cases.
    
    Note that the name uv_idle is now a bit of a misnomer. There is
    actually no guarantee that libuv completely processed all i/o
    when an iteration ends. The windows implementation at least limits
    the amount of callbacks processed in a single iteration to avoid some
    handles getting a disproportionate amount of cpu attention.
    piscisaureus committed May 29, 2013
    Copy the full SHA
    bc56a4e View commit details
    Browse the repository at this point in the history
  2. test: reflect new idle semantics in test

    Update the `idle_starvation` test to verify not only that idle callbacks
    are called, but also that they are called once per loop iteration.
    piscisaureus committed May 29, 2013
    Copy the full SHA
    b5cd78e View commit details
    Browse the repository at this point in the history