RTRlib
|
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_node * | store |
ASPA Table.
lock | Read-Write lock to prevent data races. |
update_lock | Read-Write lock to prevent changes made to the table while an update is in progress. |
update | function, called when the dynamic ordered array changes. |
sockets | sockets 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.
pthread_rwlock_t aspa_table::lock |
struct aspa_store_node* aspa_table::store |
aspa_update_fp aspa_table::update_fp |
pthread_rwlock_t aspa_table::update_lock |