|
CX Framework
Cross-platform C utility framework
|
Thread pool configuration for a task queue. More...
#include <taskqueue_shared.h>
Data Fields | |
| int | wInitial |
| Initial number of workers when starting the queue. | |
| int | wIdle |
| Absolute minimum workers when queue is completely idle. | |
| int | wBusy |
| Target number of workers when queue is busy. | |
| int | wMax |
| Absolute maximum number of workers. | |
| int64 | tIdle |
| Time before queue is considered idle (allows worker reduction) | |
| int64 | tRampUp |
| Delay between adding workers to the pool. | |
| int64 | tRampDown |
| Delay before removing an idle worker from the pool. | |
| int | loadFactor |
| Average queue depth per worker that is acceptable before scaling up. | |
| TQUICallback | ui |
| If set, workers handle UI events using this callback. | |
Thread pool configuration for a task queue.
Definition at line 62 of file taskqueue_shared.h.