tlds
Transactional Operations for Linked Data Structures
|
Go to the source code of this file.
Macros | |
#define | rand_init(_ptst) ((_ptst)->rand = RDTICK()) |
#define | rand_next(_ptst) ((_ptst)->rand = ((_ptst)->rand * 1103515245) + 12345) |
Typedefs | |
typedef unsigned long | rand_t |
#define rand_init | ( | _ptst | ) | ((_ptst)->rand = RDTICK()) |
#define rand_next | ( | _ptst | ) | ((_ptst)->rand = ((_ptst)->rand * 1103515245) + 12345) |
typedef unsigned long rand_t |