tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
rand_r_32.h File Reference
#include <stdlib.h>
#include <stm/config.h>
Include dependency graph for rand_r_32.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int rand_r_32 (unsigned int *seed)
 
int rand_r_32 (volatile unsigned int *seed)
 

Function Documentation

int rand_r_32 ( unsigned int *  seed)
inline

Changes:

The file/function name has been changed from rand_r to rand_r_32.

Added attributes for transactional use.

Cloned the function to handle the case where the seed is volatile

Here is the caller graph for this function:

int rand_r_32 ( volatile unsigned int *  seed)
inline