tlds
Transactional Operations for Linked Data Structures
|
#include "mt19937ar.h"
Go to the source code of this file.
Classes | |
struct | random |
Macros | |
#define | RANDOM_DEFAULT_SEED (0) |
#define | PRANDOM_ALLOC() Prandom_alloc() |
#define | PRANDOM_FREE(r) Prandom_free(r) |
#define | PRANDOM_SEED(r, s) random_seed(r, s) |
#define | PRANDOM_GENERATE(r) random_generate(r) |
Typedefs | |
typedef struct random | random_t |
Functions | |
random_t * | random_alloc () |
random_t * | Prandom_alloc () |
void | random_free (random_t *randomPtr) |
void | Prandom_free (random_t *randomPtr) |
void | random_seed (random_t *randomPtr, unsigned long seed) |
unsigned long | random_generate (random_t *randomPtr) |
#define PRANDOM_ALLOC | ( | ) | Prandom_alloc() |
#define PRANDOM_FREE | ( | r | ) | Prandom_free(r) |
#define PRANDOM_GENERATE | ( | r | ) | random_generate(r) |
#define PRANDOM_SEED | ( | r, | |
s | |||
) | random_seed(r, s) |
#define RANDOM_DEFAULT_SEED (0) |
random_t* Prandom_alloc | ( | ) |
void Prandom_free | ( | random_t * | randomPtr | ) |
random_t* random_alloc | ( | ) |
void random_free | ( | random_t * | randomPtr | ) |
unsigned long random_generate | ( | random_t * | randomPtr | ) |
void random_seed | ( | random_t * | randomPtr, |
unsigned long | seed | ||
) |