mte/unikernel/duniverse/dune_/doc/reference/actions/concurrent.rst
2025-11-11 02:07:51 +01:00

19 lines
494 B
ReStructuredText

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))