Skip to content
Commits on Mar 17, 2014
  1. @saghul

    unix, windows: removed unused status parameter

    saghul committed Mar 11, 2014
    async, timer, prepare, idle and check handles don't need the status
    parameter.
Commits on Jan 16, 2013
  1. @bnoordhuis

    unix, windows: rename uv_run2 to uv_run

    bnoordhuis committed Jan 16, 2013
    This changes the prototype of uv_run() from:
    
      int uv_run(uv_loop_t* loop);
    
    To:
    
      int uv_run(uv_loop_t* loop, uv_run_mode mode);
    
    Where `mode` is UV_RUN_DEFAULT, UV_RUN_ONCE or UV_RUN_NOWAIT.
    
    Fixes #683.
Commits on Oct 16, 2012
  1. @piscisaureus
Commits on May 29, 2012
  1. @bnoordhuis
  2. @bnoordhuis
Commits on May 17, 2012
  1. @bnoordhuis

    unix, windows: rework reference counting scheme

    bnoordhuis committed May 17, 2012
    This commit changes how the event loop determines if it needs to stay alive.
    
    Previously, an internal counter was increased whenever a handle got created
    and decreased again when the handle was closed.
    
    While conceptually simple, it turned out hard to work with: you often want
    to keep the event loop alive only if the handle is actually doing something.
    Stopped or inactive handles were a frequent source of hanging event loops.
    
    That's why this commit changes the reference counting scheme to a model where
    a handle only references the event loop when it's active. 'Active' means
    different things for different handle types, e.g.:
    
     * timers: ticking
     * sockets: reading, writing or listening
     * processes: always active (for now, subject to change)
     * idle, check, prepare: only active when started
    
    This commit also changes how the uv_ref() and uv_unref() functions work: they
    now operate on the level of individual handles, not the whole event loop.
    
    The Windows implementation was done by Bert Belder.
Commits on Apr 18, 2012
  1. @bnoordhuis
Commits on Nov 30, 2011
  1. @waywardmonkeys @bnoordhuis

    Fix typos.

    waywardmonkeys committed with bnoordhuis Nov 30, 2011
Commits on Sep 12, 2011
  1. @piscisaureus @ry
Commits on Aug 31, 2011
  1. @piscisaureus

    bring back uv_init

    piscisaureus committed Aug 31, 2011
  2. @ry @piscisaureus

    unix: multiplicity

    ry committed with piscisaureus Aug 31, 2011
Commits on Jul 21, 2011
  1. @piscisaureus
  2. @ry

    uv_close returns void

    ry committed Jul 20, 2011
Commits on Jul 7, 2011
  1. @ry

    src/ and include/ directories

    ry committed Jul 6, 2011
    Helps #71 but does not update the MSVC files.
Commits on Jun 17, 2011
  1. @piscisaureus

    Split up uv_loop type

    piscisaureus committed Jun 17, 2011
Commits on Jun 8, 2011
  1. @ry
  2. @ry
Commits on Jun 3, 2011
  1. @ry

    API change: alloc_cb moved to uv_read_start()

    ry committed Jun 1, 2011
    Fixes #47.
  2. @ry

    Separate out uv_handle_t into different types

    ry committed Jun 1, 2011
    Fixes #4
Commits on May 22, 2011
  1. @ry

    unix: fix ref count tests

    ry committed May 22, 2011
  2. @ry

    Add reference count tests

    ry committed May 20, 2011
    Broken on UNIX.
Commits on May 16, 2011
  1. @piscisaureus
Commits on May 13, 2011
  1. @ry

    uv_buf -> uv_buf_t

    ry committed May 13, 2011
Commits on May 12, 2011
  1. @ry

    oio -> uv

    ry committed May 11, 2011
Commits on May 9, 2011
  1. @piscisaureus
  2. @ry

    unix: initial implementation of prepare, check, idle

    ry committed May 9, 2011
    Had to comment out a few of the asserts in the test.
  3. @piscisaureus
Commits on May 8, 2011
  1. @ry

    Add _t to typedef structs

    ry committed May 8, 2011
  2. @piscisaureus
  3. @piscisaureus
Something went wrong with that request. Please try again.