This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,19 @@
concurrent
----------
.. highlight:: dune
.. describe:: (concurrent <DSL> ...)
Execute several commands concurrently and collect all resulting errors, if any.
.. warning:: The concurrency is limited by the ``-j`` flag passed to Dune.
In particular, if Dune is running with ``-j 1``, these commands will
actually run sequentially, which may cause a deadlock if they talk to
each other.
Example::
(concurrent
(run ./proga.exe)
(run ./progb.exe))