RTRlib
Loading...
Searching...
No Matches
aspa_table Struct Reference

ASPA Table. More...

#include <aspa.h>

Data Fields

pthread_rwlock_t lock
 
pthread_rwlock_t update_lock
 
aspa_update_fp update_fp
 
struct aspa_store_nodestore
 

Detailed Description

ASPA Table.

Parameters
lockRead-Write lock to prevent data races.
update_lockRead-Write lock to prevent changes made to the table while an update is in progress.
updatefunction, called when the dynamic ordered array changes.
socketssockets Sockets, each storing a dynamic ordered array

An ASPA table consists of a linked list of a sockets and ASPA arrays, simplifying removing or replacing records originating from any given socket.

Field Documentation

◆ lock

pthread_rwlock_t aspa_table::lock

◆ store

struct aspa_store_node* aspa_table::store

◆ update_fp

aspa_update_fp aspa_table::update_fp

◆ update_lock

pthread_rwlock_t aspa_table::update_lock

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