|
picotm
0.9.0
|
Provides transactional queues. More...
#include <picotm/compiler.h>#include <picotm/config/picotm-txlib-config.h>#include <stdbool.h>#include <stddef.h>#include "picotm-txqueue-state.h"Functions | |
| PICOTM_NOTHROW struct txqueue_entry * | txqueue_back_tx (struct txqueue *self) |
| Retruns the back-end entry of a transactional queue. More... | |
| PICOTM_NOTHROW bool | txqueue_empty_tx (struct txqueue *self) |
| Tests a transactional queue for emptiness. More... | |
| PICOTM_NOTHROW struct txqueue_entry * | txqueue_front_tx (struct txqueue *self) |
| Returns the front-end entry of a transactional queue. More... | |
| PICOTM_NOTHROW struct txqueue * | txqueue_of_state_tx (struct txqueue_state *queue_state) |
| Creates a transactional queue for a queue state. More... | |
| PICOTM_NOTHROW void | txqueue_pop_tx (struct txqueue *self) |
| Removes the last entry of a transactional queue. More... | |
| PICOTM_NOTHROW void | txqueue_push_tx (struct txqueue *self, struct txqueue_entry *entry) |
| Inserts an entry at the front of a transactional queue. More... | |
| PICOTM_NOTHROW size_t | txqueue_size_tx (struct txqueue *self) |
| Returns the number of entries in a transactional queue. More... | |
| PICOTM_NOTHROW struct txqueue_entry* txqueue_back_tx | ( | struct txqueue * | self | ) |
| self | The transactional queue. |
| PICOTM_NOTHROW bool txqueue_empty_tx | ( | struct txqueue * | self | ) |
| self | The transactional queue. |
| PICOTM_NOTHROW struct txqueue_entry* txqueue_front_tx | ( | struct txqueue * | self | ) |
| self | The transactional queue. |
| PICOTM_NOTHROW struct txqueue* txqueue_of_state_tx | ( | struct txqueue_state * | queue_state | ) |
| queue_state | The queue state. |
| PICOTM_NOTHROW void txqueue_pop_tx | ( | struct txqueue * | self | ) |
| self | The transactional queue. |
| PICOTM_NOTHROW void txqueue_push_tx | ( | struct txqueue * | self, |
| struct txqueue_entry * | entry | ||
| ) |
| self | The transactional queue. |
| entry | The queue entry to insert. |
| PICOTM_NOTHROW size_t txqueue_size_tx | ( | struct txqueue * | self | ) |
| self | The transactional queue. |
1.8.13