EM-ODP 4.4.0
Event Machine on ODP
Loading...
Searching...
No Matches
queue_group_elem_t Struct Reference

#include <em_queue_group_types.h>

Collaboration diagram for queue_group_elem_t:

Data Fields

em_queue_group_t queue_group
 
odp_schedule_group_t odp_sched_group
 
odp_atomic_u32_t num_queues
 
list_node_t queue_list
 
em_core_mask_t core_mask
 
union { 
 
   objpool_elem_t   queue_group_pool_elem 
 
   list_node_t   qgrp_list_node 
 
};  
 
bool ongoing_delete
 
odp_ticketlock_t lock
 
void *end[0] ENV_CACHE_LINE_ALIGNED
 

Detailed Description

EM queue group element

Definition at line 72 of file em_queue_group_types.h.

Field Documentation

◆ core_mask

em_core_mask_t queue_group_elem_t::core_mask

EM core mask

Definition at line 82 of file em_queue_group_types.h.

◆ ENV_CACHE_LINE_ALIGNED

void* end [0] queue_group_elem_t::ENV_CACHE_LINE_ALIGNED

Pad to multiple of cache line size

Definition at line 105 of file em_queue_group_types.h.

◆ lock

odp_ticketlock_t queue_group_elem_t::lock

Queue group elem lock

Definition at line 103 of file em_queue_group_types.h.

◆ num_queues

odp_atomic_u32_t queue_group_elem_t::num_queues

Number of queues that belong to this queue group

Definition at line 78 of file em_queue_group_types.h.

◆ odp_sched_group

odp_schedule_group_t queue_group_elem_t::odp_sched_group

Associated ODP schedule group

Definition at line 76 of file em_queue_group_types.h.

◆ ongoing_delete

bool queue_group_elem_t::ongoing_delete

Is queue group deletion ongoing? true/false

Definition at line 101 of file em_queue_group_types.h.

◆ qgrp_list_node

list_node_t queue_group_elem_t::qgrp_list_node

Queue group elements to be flushed in EM-core termination. Used as a node when creating a list of all queue groups with only the terminating core set in the mask - the queues belonging to these qgrps should be flushed before terminating the core.

Definition at line 98 of file em_queue_group_types.h.

◆ queue_group

em_queue_group_t queue_group_elem_t::queue_group

EM queue group handle/id

Definition at line 74 of file em_queue_group_types.h.

◆ queue_group_pool_elem

objpool_elem_t queue_group_elem_t::queue_group_pool_elem

Queue group pool elem for linking free queue groups for queue_group_alloc(). Used when the queue group is not yet allocated (i.e. is in the qgrp pool).

Definition at line 90 of file em_queue_group_types.h.

◆ queue_list

list_node_t queue_group_elem_t::queue_list

Queue list, all queues that belong to this queue group

Definition at line 80 of file em_queue_group_types.h.


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