package procord

  1. Overview
  2. Docs
Procord: a portable library to delegate tasks to other processes.

Install

Dune Dependency

Authors

Maintainers

Sources

v0.2.0.tar.gz
sha256=fab0e934790554e204cde2a9c85ec1679c940d3976ef2e9ebb77efbeeaf81cde
md5=779553c6035e627e5baa1736e4bf3d32

Description

Procord can spawn local worker processes or communicate using sockets to a remote worker server. Workers will receive an input, execute a function on this input, and send back the result. Meanwhile, the main program can continue to run while waiting for the results.

Not relying on threads, Procord is robust - a segmentation fault in the worker will not kill the main program. Not relying on fork, Procord is portable - it has been tested on Linux and Windows.

Procord provides an easy way to have the same executable act as a worker - local or remote - or as the main program. The actual behavior can be specified on the command-line. The default is to run as the main program, which delegates tasks by running itself.

Published: 02 Sep 2014

Dependencies (3)

  1. ocamlbuild build
  2. ocamlfind build
  3. ocaml < "4.06.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.