From 7797fc1def7d6f61d9a51a482550055b2fd5142e Mon Sep 17 00:00:00 2001 From: Lee Spector Date: Wed, 30 Aug 2023 13:14:32 -0400 Subject: [PATCH] Document concurrency and :single-thread-mode in README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0e18818..f3a17c1 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,12 @@ or lein run -m propeller.problems.simple-regression :variation "{:umad 1.0}" ``` +By default, Propeller will conduct many processes concurrently on multiple +cores using threads. If you want to disable this behavior (for example, during +debugging) then provide the argument `:single-thread-mode` with the value `true`. +Threads are not available in Javascript, so no processes are run concurrnetly +when Propeller is run in Clojurescript. + ## CLJS Usage