Permalink
Switch branches/tags
Nothing to show
Commits on Mar 26, 2018
  1. Merge pull request #7 from cursorinsight/port-key-balance

    squidfunk committed Mar 26, 2018
    Balance ports between threads by default when returning the given key
  2. Merge pull request #6 from cursorinsight/bugfixes

    squidfunk committed Mar 26, 2018
    Bug fixes for init messages
Commits on Mar 20, 2018
  1. Balance ports between threads by default when returning the given key

    hegedenes committed Mar 20, 2018
    Now it is possible to have different ports running on different threads
    while the same port is always running on the same thread.
    
    This is achieved using the driver_async_port_key function, as
    recommended by the official documentation:
    http://erlang.org/doc/man/erl_driver.html#driver_async.
    
    Incompatibility warning: If an existing `balance` function simply did
    `return key;`, then its behaviour will change. Previously it caused all
    ports to use the same thread; now different ports will use different
    threads.
  2. Fix invalid reading from the request

    hegedenes committed Mar 20, 2018
    There is a list only in the init request, otherwise memory junk can be read
    when req->index == req->len
  3. Wait for the result of init messages

    hegedenes committed Mar 20, 2018
    Without this, the reply to the first message can become
    the result of the initialization.
Commits on May 5, 2015
Commits on Sep 13, 2014
Commits on Oct 8, 2013
Commits on Oct 7, 2013
  1. Merge pull request #2 from ToJans/master

    squidfunk committed Oct 7, 2013
    Should only compile c-files
  2. Should only compile c-files

    Tom Janssens Tom Janssens
    Tom Janssens authored and Tom Janssens committed Oct 7, 2013
Commits on Oct 5, 2013
  1. Merge pull request #1 from ToJans/master

    squidfunk committed Oct 5, 2013
    Added a simple test to verify it works
  2. Setup and teardown gives me a segmentation fault

    Tom Janssens Tom Janssens
    Tom Janssens authored and Tom Janssens committed Oct 5, 2013
  3. Added a simple test to verify it works

    Tom Janssens Tom Janssens
    Tom Janssens authored and Tom Janssens committed Oct 5, 2013
Commits on Dec 2, 2012
Commits on Nov 24, 2012
Commits on Nov 23, 2012
Commits on Nov 19, 2012
  1. Syntax highlighting fix

    squidfunk committed Nov 19, 2012
Commits on Nov 18, 2012
  1. Updated documentation

    squidfunk committed Nov 18, 2012
Commits on Nov 16, 2012
  1. Initial commit

    squidfunk committed Nov 16, 2012