Permalink
Commits on Aug 28, 2013
  1. @mjambon

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

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

    slightly more efficient fix for concurrent access to [in_stream]

    now each pool has its own mutex.
    pveber committed Apr 1, 2013
  2. @pveber

    possible fix for concurrent access to the input stream

    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].
    pveber committed Apr 1, 2013
Commits on Dec 31, 2011
  1. @mjambon
Commits on Dec 5, 2011
  1. @mjambon

    Calling this version 0.5.1

    mjambon committed Dec 5, 2011
  2. @mjambon

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

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

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

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

    Fixed link syntax

    mjambon committed Nov 30, 2011
  2. @mjambon

    Added a Makefile, INSTALL instructions and a link to the ocamldoc

    HTML documentation.
    mjambon committed Nov 30, 2011
Commits on Nov 29, 2011
  1. @mjambon

    Converted README to Markdown.

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

    Established clear error-handling policy.

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

    Added granularity option to iter_stream functions (needs doc).

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

    Modified README

    mjambon committed Nov 24, 2011
  2. @mjambon

    Doc build fix (mkdir doc)

    mjambon committed Nov 24, 2011
  3. @mjambon

    Doc

    mjambon committed Nov 24, 2011
  4. @mjambon

    Added install/uninstall targets.

    mjambon committed Nov 24, 2011
  5. @mjambon

    Added interface documentation

    mjambon committed Nov 24, 2011
Commits on Nov 6, 2011
  1. @mjambon
Commits on Nov 5, 2011
  1. @mjambon

    Got rid of the old Nproc. Modified test_nproc to use the new

    implementation.
    mjambon committed Nov 5, 2011
  2. @mjambon
Commits on Nov 3, 2011
  1. @mjambon