Permalink
Switch branches/tags
Nothing to show
Commits on Aug 28, 2013
  1. Merge pull request #4 from pveber/fix-in_stream-concurrent-access

    mjambon committed Aug 28, 2013
    Fix concurrent access to the task stream
Commits on Apr 1, 2013
  1. slightly more efficient fix for concurrent access to [in_stream]

    pveber committed Apr 1, 2013
    now each pool has its own mutex.
  2. possible fix for concurrent access to the input stream

    pveber committed Apr 1, 2013
    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
Commits on Dec 5, 2011
  1. Calling this version 0.5.1

    mjambon committed Dec 5, 2011
  2. Added ?init option to create/iter_stream, allowing to do some clean up

    mjambon committed Dec 5, 2011
    when starting the workers. It also supports a special exception
    Start_worker allowing to clear the call stack.
Commits on Dec 1, 2011
  1. Specified that "create" should not be called from within the main loop.

    mjambon committed Dec 1, 2011
    Added "terminate" function.
Commits on Nov 30, 2011
  1. Fixed link syntax

    mjambon committed Nov 30, 2011
  2. Added a Makefile, INSTALL instructions and a link to the ocamldoc

    mjambon committed Nov 30, 2011
    HTML documentation.
Commits on Nov 29, 2011
  1. Converted README to Markdown.

    mjambon committed Nov 29, 2011
Commits on Nov 28, 2011
  1. Established clear error-handling policy.

    mjambon committed Nov 28, 2011
    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. Added granularity option to iter_stream functions (needs doc).

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

    mjambon committed Nov 24, 2011
  2. Doc build fix (mkdir doc)

    mjambon committed Nov 24, 2011
  3. Doc

    mjambon committed Nov 24, 2011
  4. Added interface documentation

    mjambon committed Nov 24, 2011
Commits on Nov 6, 2011
Commits on Nov 5, 2011
Commits on Nov 3, 2011