Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/QueuedThreadPool.h |
Include |
#include "Misc/QueuedThreadPool.h" |
class FQueuedThreadPool
Interface for queued thread pools.
This interface is used by all queued thread pools. It used as a callback by FQueuedThreads and is used to queue asynchronous work for callers.
Name | Description | |
---|---|---|
|
~FQueuedThreadPool() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
AddQueuedWork ( |
Checks to see if there is a thread available to perform the task. |
|
|
FQueuedThrea... |
Allocate() |
Allocates a thread pool |
|
Create ( |
Creates the thread pool with the specified number of threads |
|
|
Destroy() |
Tells the pool to clean up all background threads |
|
|
GetNumThreads() |
Get the number of queued threads |
|
|
RetractQueuedWork ( |
Attempts to retract a previously queued task. |
Name |
Description |
---|---|
OverrideStackSize |
Stack size for threads created for the thread pool. |