> For the complete documentation index, see [llms.txt](https://docs.csanalytics.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.csanalytics.io/python-api-package/concurrency-and-cross-platform-compatibility.md).

# Concurrency and Cross-Platform Compatibility

Our Python package uses `from multiprocessing import freeze_support` to ensure cross-platform compatibility when using concurrency. This line is **required** in entry-point blocks on:

* **Windows**, which always uses the `spawn` start method
* **macOS with Apple Silicon** (M1/M2/M3/M4) when using Python installed via Homebrew, which also defaults to `spawn`

While it's a no-op on most Linux systems (which use `fork` by default), including `freeze_support()` ensures safe and consistent behavior across all platforms, especially when running our scripts and pip package that use multiprocessing or multi-threaded APIs.
