Document concurrency and :single-thread-mode in README

This commit is contained in:
Lee Spector 2023-08-30 13:14:32 -04:00
parent 87ba635f4f
commit 7797fc1def

View File

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