|
tlds
Transactional Operations for Linked Data Structures
|
Go to the source code of this file.
Macros | |
| #define | PQUEUE_ALLOC(c) Pqueue_alloc(c) |
| #define | PQUEUE_FREE(q) Pqueue_free(q) |
| #define | PQUEUE_ISEMPTY(q) queue_isEmpty(q) |
| #define | PQUEUE_CLEAR(q) queue_clear(q) |
| #define | PQUEUE_SHUFFLE(q) queue_shuffle(q, randomPtr); |
| #define | PQUEUE_PUSH(q, d) Pqueue_push(q, (void*)(d)) |
| #define | PQUEUE_POP(q) queue_pop(q) |
| #define | TMQUEUE_ALLOC(c) TMqueue_alloc(TM_ARG c) |
| #define | TMQUEUE_FREE(q) TMqueue_free(TM_ARG q) |
| #define | TMQUEUE_ISEMPTY(q) TMqueue_isEmpty(TM_ARG q) |
| #define | TMQUEUE_PUSH(q, d) TMqueue_push(TM_ARG q, (void*)(d)) |
| #define | TMQUEUE_POP(q) TMqueue_pop(TM_ARG q) |
| #define | TMQUEUE_CLEAR(q) TMqueue_clear(TM_ARG q) |
Typedefs | |
| typedef struct queue | queue_t |
Functions | |
| queue_t * | queue_alloc (long initCapacity) |
| queue_t * | Pqueue_alloc (long initCapacity) |
| queue_t * | TMqueue_alloc (TM_ARGDECL long initCapacity) |
| void | queue_free (queue_t *queuePtr) |
| void | Pqueue_free (queue_t *queuePtr) |
| void | TMqueue_free (TM_ARGDECL queue_t *queuePtr) |
| bool_t | queue_isEmpty (queue_t *queuePtr) |
| TM_CALLABLE bool_t | TMqueue_isEmpty (TM_ARGDECL queue_t *queuePtr) |
| void | queue_clear (queue_t *queuePtr) |
| void | TMqueue_clear (TM_ARGDECL queue_t *queuePtr) |
| void | queue_shuffle (queue_t *queuePtr, random_t *randomPtr) |
| bool_t | queue_push (queue_t *queuePtr, void *dataPtr) |
| bool_t | Pqueue_push (queue_t *queuePtr, void *dataPtr) |
| TM_CALLABLE bool_t | TMqueue_push (TM_ARGDECL queue_t *queuePtr, void *dataPtr) |
| void * | queue_pop (queue_t *queuePtr) |
| TM_CALLABLE void * | TMqueue_pop (TM_ARGDECL queue_t *queuePtr) |
| #define PQUEUE_ALLOC | ( | c | ) | Pqueue_alloc(c) |
| #define PQUEUE_CLEAR | ( | q | ) | queue_clear(q) |
| #define PQUEUE_FREE | ( | q | ) | Pqueue_free(q) |
| #define PQUEUE_ISEMPTY | ( | q | ) | queue_isEmpty(q) |
| #define PQUEUE_POP | ( | q | ) | queue_pop(q) |
| #define PQUEUE_PUSH | ( | q, | |
| d | |||
| ) | Pqueue_push(q, (void*)(d)) |
| #define PQUEUE_SHUFFLE | ( | q | ) | queue_shuffle(q, randomPtr); |
| #define TMQUEUE_ALLOC | ( | c | ) | TMqueue_alloc(TM_ARG c) |
| #define TMQUEUE_CLEAR | ( | q | ) | TMqueue_clear(TM_ARG q) |
| #define TMQUEUE_FREE | ( | q | ) | TMqueue_free(TM_ARG q) |
| #define TMQUEUE_ISEMPTY | ( | q | ) | TMqueue_isEmpty(TM_ARG q) |
| #define TMQUEUE_POP | ( | q | ) | TMqueue_pop(TM_ARG q) |
| #define TMQUEUE_PUSH | ( | q, | |
| d | |||
| ) | TMqueue_push(TM_ARG q, (void*)(d)) |
| queue_t* Pqueue_alloc | ( | long | initCapacity | ) |
| void Pqueue_free | ( | queue_t * | queuePtr | ) |
| queue_t* queue_alloc | ( | long | initCapacity | ) |
| void queue_clear | ( | queue_t * | queuePtr | ) |
| void queue_free | ( | queue_t * | queuePtr | ) |
| void* queue_pop | ( | queue_t * | queuePtr | ) |
| queue_t* TMqueue_alloc | ( | TM_ARGDECL long | initCapacity | ) |
| void TMqueue_clear | ( | TM_ARGDECL queue_t * | queuePtr | ) |
| void TMqueue_free | ( | TM_ARGDECL queue_t * | queuePtr | ) |
| TM_CALLABLE bool_t TMqueue_isEmpty | ( | TM_ARGDECL queue_t * | queuePtr | ) |
| TM_CALLABLE void* TMqueue_pop | ( | TM_ARGDECL queue_t * | queuePtr | ) |
| TM_CALLABLE bool_t TMqueue_push | ( | TM_ARGDECL queue_t * | queuePtr, |
| void * | dataPtr | ||
| ) |