Functions

Provides transactional stacks. More...

#include "picotm/config/picotm-txlib-config.h"
#include "picotm/compiler.h"
#include <stdbool.h>
#include <stddef.h>
#include "picotm-txstack-state.h"

Functions

PICOTM_NOTHROW bool txstack_empty_tx (struct txstack *self)
 Tests a transactional stack for emptiness. More...
 
PICOTM_NOTHROW void txstack_entry_init_tm (struct txstack_entry *self)
 Initializes an entry of a transactional stack from within a transaction. More...
 
PICOTM_NOTHROW void txstack_entry_uninit_tm (struct txstack_entry *self)
 Cleans up an entry of a transactional stack from within a transaction. More...
 
PICOTM_NOTHROW struct txstacktxstack_of_state_tx (struct txstack_state *stack_state)
 Creates a transactional stack for a stack state. More...
 
PICOTM_NOTHROW void txstack_pop_tx (struct txstack *self)
 Removes the top-most entry of a transactional stack. More...
 
PICOTM_NOTHROW void txstack_push_tx (struct txstack *self, struct txstack_entry *entry)
 Inserts an entry at the top of a transactional stack. More...
 
PICOTM_NOTHROW size_t txstack_size_tx (struct txstack *self)
 Returns the number of entries on a transactional stack. More...
 
PICOTM_NOTHROW struct txstack_entrytxstack_top_tx (struct txstack *self)
 Returns the top-most entry of a transactional stack. More...