tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
random.h File Reference
This graph shows which files directly or indirectly include this file:

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
 

Macro Definition Documentation

#define rand_init (   _ptst)    ((_ptst)->rand = RDTICK())
#define rand_next (   _ptst)    ((_ptst)->rand = ((_ptst)->rand * 1103515245) + 12345)

Typedef Documentation

typedef unsigned long rand_t