Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 28, 2013
  1. @mjambon

    Merge pull request #4 from pveber/fix-in_stream-concurrent-access

    mjambon authored
    Fix concurrent access to the task stream
Commits on Apr 1, 2013
  1. @pveber

    slightly more efficient fix for concurrent access to [in_stream]

    pveber authored
    now each pool has its own mutex.
  2. @pveber

    possible fix for concurrent access to the input stream

    pveber authored
    in the master process, there are threads 1-to-1 associated with
    workers. They concurrently try to pull a task from a stream
    [in_stream] and send it to a worker, providing a waiter thread for
    delivering the output. However it seems that several worker-associated
    threads can read the same incoming value in the stream, perform the
    computation concurrently and try to send it back to the waiter. Since
    the waiter is woken up several times, this generates the exceptions
    [Invalid_argument("Lwt.wakeup_result")].
    
    The final result is correct, but ressources are wasted, since some
    computation may be several times by several workers (and that really
    happens, since the exceptions are raised quite a few times).
    
    The proposed fix is to add a mutex for the access to [in_stream].
Commits on Dec 31, 2011
  1. @mjambon
Commits on Dec 5, 2011
  1. @mjambon

    Calling this version 0.5.1

    mjambon authored
  2. @mjambon

    Added ?init option to create/iter_stream, allowing to do some clean up

    mjambon authored
    when starting the workers. It also supports a special exception
    Start_worker allowing to clear the call stack.
Commits on Dec 1, 2011
  1. @mjambon

    Specified that "create" should not be called from within the main loop.

    mjambon authored
    Added "terminate" function.
Commits on Nov 30, 2011
  1. @mjambon

    Fixed link syntax

    mjambon authored
  2. @mjambon
Commits on Nov 29, 2011
  1. @mjambon

    Converted README to Markdown.

    mjambon authored
  2. @mjambon
  3. @mjambon
Commits on Nov 28, 2011
  1. @mjambon

    Established clear error-handling policy.

    mjambon authored
    Raising exceptions is now discouraged. Exceptions are logged and
    the result of tasks is now wrapped into an option.
Commits on Nov 26, 2011
  1. @mjambon

    Added granularity option to iter_stream functions (needs doc).

    mjambon authored
    Somewhat improved error handling (looks like a "kill" function would be
    nice)
Commits on Nov 25, 2011
  1. @mjambon
Commits on Nov 24, 2011
  1. @mjambon

    Modified README

    mjambon authored
  2. @mjambon

    Doc build fix (mkdir doc)

    mjambon authored
  3. @mjambon

    Doc

    mjambon authored
  4. @mjambon
  5. @mjambon

    Added interface documentation

    mjambon authored
Commits on Nov 6, 2011
  1. @mjambon
Commits on Nov 5, 2011
  1. @mjambon
  2. @mjambon
Commits on Nov 3, 2011
  1. @mjambon
Something went wrong with that request. Please try again.