EM-ODP  3.7.0
Event Machine on ODP
atomic_group_elem_t Struct Reference
Collaboration diagram for atomic_group_elem_t:

Data Fields

em_atomic_group_t atomic_group
 
em_queue_group_t queue_group
 
objpool_elem_t atomic_group_pool_elem
 
struct {
   odp_stash_t   hi_prio
 
   odp_stash_t   lo_prio
 
stashes
 
env_spinlock_t lock ENV_CACHE_LINE_ALIGNED
 
env_atomic32_t num_queues
 
list_node_t qlist_head
 
char name [EM_ATOMIC_GROUP_NAME_LEN]
 
char end[0] ENV_CACHE_LINE_ALIGNED
 

Detailed Description

Definition at line 46 of file em_atomic_group_types.h.

Field Documentation

◆ atomic_group

em_atomic_group_t atomic_group_elem_t::atomic_group

The atomic group ID (handle)

Definition at line 48 of file em_atomic_group_types.h.

◆ atomic_group_pool_elem

objpool_elem_t atomic_group_elem_t::atomic_group_pool_elem

AG pool elem for linking free AGs for AG-alloc

Definition at line 52 of file em_atomic_group_types.h.

◆ ENV_CACHE_LINE_ALIGNED

env_spinlock_t lock atomic_group_elem_t::ENV_CACHE_LINE_ALIGNED

Atomic group element lock

Definition at line 62 of file em_atomic_group_types.h.

◆ hi_prio

odp_stash_t atomic_group_elem_t::hi_prio

for high priority events

Definition at line 56 of file em_atomic_group_types.h.

◆ lo_prio

odp_stash_t atomic_group_elem_t::lo_prio

for events of all other priority levels

Definition at line 58 of file em_atomic_group_types.h.

◆ name

char atomic_group_elem_t::name[EM_ATOMIC_GROUP_NAME_LEN]

Atomic group name

Definition at line 69 of file em_atomic_group_types.h.

◆ num_queues

env_atomic32_t atomic_group_elem_t::num_queues

Number of queues that belong to this atomic group

Definition at line 64 of file em_atomic_group_types.h.

◆ qlist_head

list_node_t atomic_group_elem_t::qlist_head

List of queues (q_elems) that belong to this atomic group

Definition at line 67 of file em_atomic_group_types.h.

◆ queue_group

em_queue_group_t atomic_group_elem_t::queue_group

Queue group that the atomic group belongs to

Definition at line 50 of file em_atomic_group_types.h.

◆ stashes

struct { ... } atomic_group_elem_t::stashes

Internal stashes for events belonging to this group


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