Asterisk - The Open Source Telephony Project
18.5.0
|
Relevant data associated with taskprocessor load test. More...
Data Fields | |
ast_cond_t | cond |
ast_mutex_t | lock |
int | task_rand [NUM_TASKS] |
int | tasks_completed |
Relevant data associated with taskprocessor load test.
Definition at line 319 of file test_taskprocessor.c.
ast_cond_t cond |
Condition used to indicate a task has completed executing
Definition at line 321 of file test_taskprocessor.c.
Referenced by AST_TEST_DEFINE(), and load_task().
ast_mutex_t lock |
Lock used to protect the condition
Definition at line 323 of file test_taskprocessor.c.
Referenced by AST_TEST_DEFINE(), and load_task().
int task_rand[NUM_TASKS] |
Storage for task-specific data
Definition at line 327 of file test_taskprocessor.c.
Referenced by AST_TEST_DEFINE(), and load_task().
int tasks_completed |
Counter of the number of completed tasks
Definition at line 325 of file test_taskprocessor.c.
Referenced by AST_TEST_DEFINE(), and load_task().