Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
load_task_data Struct Reference

Relevant data associated with taskprocessor load test. More...

Collaboration diagram for load_task_data:
Collaboration graph
[legend]

Data Fields

ast_cond_t cond
 
ast_mutex_t lock
 
int task_rand [NUM_TASKS]
 
int tasks_completed
 

Detailed Description

Relevant data associated with taskprocessor load test.

Definition at line 319 of file test_taskprocessor.c.

Field Documentation

◆ cond

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().

◆ lock

Lock used to protect the condition

Definition at line 323 of file test_taskprocessor.c.

Referenced by AST_TEST_DEFINE(), and load_task().

◆ task_rand

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().

◆ tasks_completed

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().


The documentation for this struct was generated from the following file: