Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FGatherTextFromAssetsWorkerDirec-
Description
Start the given number of worker processes.
This function will return immediately; call WaitForWorkersToStart if you need to wait for new workers to enter a state where they can accept work.
| Name | StartWorkers |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Commandlets/GatherTextFromAssetsCommandlet.h |
| Include Path | #include "Commandlets/GatherTextFromAssetsCommandlet.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Commandlets/GatherTextFromAssetsCommandlet.cpp |
bool StartWorkers
(
const int32 NumWorkers,
const bool bStopAdditionalWorkers,
const int32 NumRestartAttemptsIfCrashed
)
True if the workers could be started, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| NumWorkers | The number of worker processes to use. |
| bStopAdditionalWorkers | True to stop any additional worker processes (>NumWorkers) that are already running. |
| NumRestartAttemptsIfCrashed | How many times should we attempt to restart the workers if they crash? |