> For the complete documentation index, see [llms.txt](https://spaceoc.gitbook.io/nrc-docs-ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spaceoc.gitbook.io/nrc-docs-ru/process.md).

# Process

Класс process\
\#include "Core/experimental/process.h"

* process(std::string firstThreadName, std::function\<void()> func = \[]{}) - создаёт первый поток и его функцию.

* createThread(std::string threadName, std::function\<void()> func = \[]{}) - создаёт новый поток и его функцию.

* startThread(std::string threadName) - функция. Запускает указанный поток.

* stopThread(std::string threadName) - функция. Останавливает указанный поток... (Ага щас... Не останавливает он :skull:).

* \&getThread(std::string threadName) - shared\_ptr переменная. Возвращает указанный поток.

* \&getAllThreads() - map\<string, shared\_ptr> переменная. Возвращает threads.
