Functions

Provides transactional multisets. More...

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

Functions

PICOTM_NOTHROW struct txmultiset_entrytxmultiset_begin_tx (struct txmultiset *self)
 Returns the first entry of a transactional multiset. More...
 
PICOTM_NOTHROW void txmultiset_clear_tx (struct txmultiset *self)
 Removes all entries from a transactional multiset. More...
 
PICOTM_NOTHROW size_t txmultiset_count_tx (struct txmultiset *self, const void *key)
 Returns the number of entries with a specfic key in a transactional multiset. More...
 
PICOTM_NOTHROW bool txmultiset_empty_tx (struct txmultiset *self)
 Tests a transactional multiset for emptiness. More...
 
PICOTM_NOTHROW struct txmultiset_entrytxmultiset_end_tx (struct txmultiset *self)
 Returns the terminator of a transactional multiset. More...
 
PICOTM_NOTHROW void txmultiset_entry_init_tm (struct txmultiset_entry *self)
 Initializes an entry of a transactional multiset from within a transaction. More...
 
PICOTM_NOTHROW void txmultiset_entry_uninit_tm (struct txmultiset_entry *self)
 Cleans up an entry of a transactional multiset from within a transaction. More...
 
PICOTM_NOTHROW void txmultiset_erase_tx (struct txmultiset *self, struct txmultiset_entry *entry)
 Removes an entry from a transactional multiset. More...
 
PICOTM_NOTHROW struct txmultiset_entrytxmultiset_find_tx (struct txmultiset *self, const void *key)
 Finds an entry with a specific key in a transactional multiset. More...
 
PICOTM_NOTHROW void txmultiset_insert_tx (struct txmultiset *self, struct txmultiset_entry *entry)
 Inserts an entry into a transactional multiset. More...
 
PICOTM_NOTHROW struct txmultiset_entrytxmultiset_lower_bound_tx (struct txmultiset *self, const void *key)
 Returns a transactional multiset's the first entry with a specific key. More...
 
PICOTM_NOTHROW struct txmultisettxmultiset_of_state_tx (struct txmultiset_state *multiset_state)
 Creates a transactional multiset for a multiset state. More...
 
PICOTM_NOTHROW size_t txmultiset_size_tx (struct txmultiset *self)
 Returns the number of entries in a transactional multiset. More...
 
PICOTM_NOTHROW struct txmultiset_entrytxmultiset_upper_bound_tx (struct txmultiset *self, const void *key)
 Returns a transactional multiset's first entry with a key larger than a specific key. More...